RE: [RFC PATCH v2 07/32] PCI/portdrv: use PCIe capabilities access functions to simplify implementation

2012-07-24 Thread Kaneshige, Kenji
> -Original Message- > From: Jiang Liu [mailto:liu...@gmail.com] > Sent: Wednesday, July 25, 2012 1:31 AM > To: Bjorn Helgaas; Don Dutile > Cc: Jiang Liu; Yinghai Lu; Izumi, Taku/泉 拓; Rafael J . Wysocki; Kaneshige, > Kenji/金重 憲治; Yijing Wang; linux-kernel@vger.kernel.org; >

Re: [PATCH] fixed a macro coding style issue

2012-07-24 Thread Dmitry Torokhov
On Wed, Jul 25, 2012 at 01:20:56PM +0800, Baodong Chen wrote: > Fixed a coding style issue in driver/input/input.c > > Signed-off-by: Baodong Chen > --- > drivers/input/input.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/input/input.c

RE: [PATCH] fixed a macro coding style issue

2012-07-24 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Baodong Chen > Sent: Wednesday, July 25, 2012 10:51 AM > To: dmitry.torok...@gmail.com > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Baodong > Chen

[PATCH] fixed a macro coding style issue

2012-07-24 Thread Baodong Chen
Fixed a coding style issue in driver/input/input.c Signed-off-by: Baodong Chen --- drivers/input/input.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index 8921c61..c96e983 100644 --- a/drivers/input/input.c +++

Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant

2012-07-24 Thread James Bottomley
On Tue, 2012-07-24 at 17:08 -0400, John David Anglin wrote: > Removing "(atomic_t)" from the define results in a constant expression. OK, so this is what I'll queue for fixes: From: Mel Gorman Date: Mon, 23 Jul 2012 12:16:19 Subject: [PATCH] [PARISC] Redefine ATOMIC_INIT and ATOMIC64_INIT to

Re: More irqdomain problems (Was: next/mmotm unbootable on G5: irqdomain)

2012-07-24 Thread Grant Likely
On Mon, Jul 23, 2012 at 12:32 AM, Benjamin Herrenschmidt wrote: > Allright, another one Grant: > > unsigned int irq_find_mapping(struct irq_domain *domain, > irq_hw_number_t hwirq) > { > struct irq_data *data; > > /* Look for default domain if

Re: [PATCH v2] staging: gdm72xx: fix reference counting in gdm_wimax_event_init

2012-07-24 Thread devendra.aaru
On Tue, Jul 24, 2012 at 8:34 PM, Ben Chan wrote: > This patch fixes the commit "staging/gdm72xx: cleanup little at > gdm_wimax_event_rcv" (8df858ea76b76dde9a39d4edd9aaded983582cfe), > which mishandles the reference counting of wm_event. > > Signed-off-by: Ben Chan > --- > Fixed the commit

Re: [PATCH v2] leds: add new lp8788 led driver

2012-07-24 Thread Bryan Wu
On Tue, Jul 24, 2012 at 8:55 PM, Mark Brown wrote: > On Tue, Jul 24, 2012 at 08:23:00AM +0800, Bryan Wu wrote: >> On Mon, Jul 23, 2012 at 2:19 AM, Mark Brown > >> > If the work is flushed then the state that userspace thought was set >> > when the driver is removed will actually be set before the

[PATCH] kernel/watchdog.c : fix smp_processor_id() warning

2012-07-24 Thread Ming Lei
Use raw_smp_processor_id in lockup_detector_bootcpu_resume() because it is enough when non-boot CPUs are offline. This patch fixes the following warning when DEBUG_PREEMPT is enabled. [ 168.259429] BUG: using smp_processor_id() in preemptible [] code: pm/1577 [ 168.259460] caller is

Re: [PATCH 2/2 v5][resend] tmpfs: interleave the starting node of /dev/shmem

2012-07-24 Thread Hugh Dickins
Nathan, Kosaki-san, I have, at long last, reached the point of looking at this patchset. And I'm puzzled as to why it has grown more complicated than what you first sent out. I've read through the various threads, and some of the changes I like. I'm glad Andrew took out the stable Cc: obviously

linux-next: Tree for July 25

2012-07-24 Thread Stephen Rothwell
Hi all, Please do not add anything to linux-next included branches/series that is destined for v3.7 until after v3.6-rc1 is released. Reminder: do not rebase your branches before asking Linus to pull them ... Changes since 20120724: The net-next tree lost its conflicts. The mfd tree gained

[PATCH] Make IKCONFIG an embedded option, enabled by default

2012-07-24 Thread Alexander Holler
Knowing (being sure) which configuration was used to build a (maybe running) kernel is important for many scenarios. It's usually much more important than saving a few kb in the size of the kernel. Therefor turn on CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC by default and make them visible only

linux-next: manual merge of the akpm tree with the tip tree

2012-07-24 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/migrate.c between the tip tree and commit "mm: memcg: fix compaction/migration failing due to memcg limits" from the akpm tree. The commit 4783af477d3d ("mm: Migrate misplaced page") was removed (among several others) from

Re: [PATCH 9/9 v3] dma: shdma: convert to the shdma base library

2012-07-24 Thread Paul Mundt
On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote: > The shdma base library has originally been extracted from the shdma driver, > which now can be converted to actually use it. > > Signed-off-by: Guennadi Liakhovetski > --- > drivers/dma/sh/shdma.c | 1122 >

[PATCH 01/52] ACPICA: AML Parser: Fix two possible memory leaks in error path

2012-07-24 Thread Len Brown
From: Jesper Juhl Fixes a couple of memory leaks in the error recovery path. Signed-off-by: Jesper Juhl Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/psargs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 04/52] ACPICA: Add support for multiple notify handlers

2012-07-24 Thread Len Brown
From: Bob Moore This change adds support to allow multiple notify handlers on Device, ThermalZone, and Processor objects. Also re-worked and restructured the entire notify support code for handler installation, handler removal, notify event queuing, and notify dispatch to handler. Extends and

[PATCH 03/52] ACPICA: Lint fixes for acpi_write, no functional changes

2012-07-24 Thread Len Brown
From: Bob Moore acpi_write was widened to 64-bit data, this change eliminates some lint warnings. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/hwesleep.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 05/52] ACPICA: Update to version 20120420

2012-07-24 Thread Len Brown
From: Bob Moore Version 20120420. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 9821101..a323a7c 100644 ---

[PATCH 09/52] ACPICA: Remove argument of acpi_os_wait_events_complete

2012-07-24 Thread Len Brown
From: Lin Ming Remove the unused argument of acpi_os_wait_events_complete. Signed-off-by: Lin Ming Signed-off-by: Bob Moore Signed-off-by: Len Brown --- drivers/acpi/acpica/evxface.c | 4 ++-- drivers/acpi/osl.c| 4 ++-- drivers/acpi/sleep.c | 2 +-

[PATCH 12/52] cpuidle: remove unused hrtimer_peek_ahead_timers() call

2012-07-24 Thread Len Brown
From: Sergey Senozhatsky commit 9a6558371bcd01c2973b7638181db4ccc34eab4f Author: Arjan van de Ven Date: Sun Nov 9 12:45:10 2008 -0800 regression: disable timer peek-ahead for 2.6.28 It's showing up as regressions; disabling it very likely just papers over an underlying

[PATCH 10/52] ACPICA: Add FADT error message for GAS BitWidth overflow

2012-07-24 Thread Len Brown
From: Bob Moore Error for possible overflow during conversion from 32-bit legacy register addresses to GAS format. The GAS struct contains a one-byte BitWidth field, meaning that the maximum length of a register is 255 bits. ACPICA BZ 953. https://www.acpica.org/bugzilla/show_bug.cgi?id=953

[PATCH 14/52] ACPI Battery: Added capacity

2012-07-24 Thread Len Brown
From: srinivas pandruvada Added Capacity field, which is a pre-defined power_supply property. Calculating capacity using current charge/energy and full charge/energy. Some user mode implementations are relying on capacity field to show battery strength and power down decision. Signed-off-by:

[PATCH 17/52] cpuidle: add support for states that affect multiple cpus

2012-07-24 Thread Len Brown
From: Colin Cross On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the cpus cannot be independently powered down, either due to sequencing restrictions (on Tegra 2, cpu 0 must be the last to power down), or due to HW bugs (on OMAP4460, a cpu powering up will corrupt the gic state

[PATCH 18/52] cpuidle: coupled: add parallel barrier function

2012-07-24 Thread Len Brown
From: Colin Cross Adds cpuidle_coupled_parallel_barrier, which can be used by coupled cpuidle state enter functions to handle resynchronization after determining if any cpu needs to abort. The normal use case will be: static bool abort_flag; static atomic_t abort_barrier; int

[PATCH 20/52] ACPI: Add an interface to evaluate _OST

2012-07-24 Thread Len Brown
From: Toshi Kani Added acpi_evaluate_hotplug_opt(). All ACPI hotplug handlers must call this function when evaluating _OST for hotplug operations. If the platform does not support _OST, this function returns AE_NOT_FOUND and has no effect on the platform. ACPI_HOTPLUG_OST is defined when all

[PATCH 22/52] ACPI: Add _OST support for ACPI CPU hotplug

2012-07-24 Thread Len Brown
From: Toshi Kani Changed acpi_processor_hotplug_notify() to call ACPI _OST method when ACPI CPU hotplug operation has completed. Signed-off-by: Toshi Kani Signed-off-by: Len Brown --- drivers/acpi/processor_driver.c | 28 1 file changed, 20 insertions(+), 8

[PATCH 26/52] ACPI, PM, Specify lowest allowed state for device sleep state

2012-07-24 Thread Len Brown
From: Huang Ying Lower device sleep state can save more power, but has more exit latency too. Sometimes, to satisfy some power QoS and other requirement, we need to constrain the lowest device sleep state. In this patch, a parameter to specify lowest allowed state for

[PATCH 27/52] intel_idle: initial IVB support

2012-07-24 Thread Len Brown
From: Len Brown >From an OS point of view, IVB looks like SNB, but quicker. Signed-off-by: Len Brown --- drivers/idle/intel_idle.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index

[PATCH 28/52] ACPI: remove acpi_pad MAINTAINERS entry

2012-07-24 Thread Len Brown
From: Len Brown As Shaohua is no longer in this neck of the woods, and thus treat the acpi_pad driver as just another part of drivers/acpi/ Signed-off-by: Len Brown --- MAINTAINERS | 7 --- 1 file changed, 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 14bc707..508a935

[PATCH 32/52] ACPICA: Utilities: conditionally compile backslash removal function

2012-07-24 Thread Len Brown
From: Bob Moore Only used for iASL and AcpiExec. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/utmisc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/acpica/utmisc.c b/drivers/acpi/acpica/utmisc.c index

[PATCH 33/52] ACPICA: Update comments; no functional change

2012-07-24 Thread Len Brown
From: Bob Moore Cleanup a couple of comments. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/acpredef.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpica/acpredef.h

[PATCH 34/52] ACPICA: Add support for implicit notify on multiple devices

2012-07-24 Thread Len Brown
From: Bob Moore Adds basic support to allow multiple devices to be implicitly notified. This change is partially derived from original commit 981858b("ACPI / ACPICA: Implicit notify for multiple devices") by Rafael. Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki Signed-off-by:

[PATCH 38/52] ACPICA: Add new interfaces for BIOS(firmware) errors and warnings

2012-07-24 Thread Len Brown
From: Bob Moore These new interfaces will be deployed across ACPICA in order to point a finger directly at any detected BIOS issues -- such as issues with ACPI tables, etc. https://www.acpica.org/bugzilla/show_bug.cgi?id=843 Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len

[PATCH 24/52] ACPI: Add _OST support for ACPI container hotplug

2012-07-24 Thread Len Brown
From: Toshi Kani Changed container_notify_cb() to call ACPI _OST method when ACPI container hotplug operation has completed. Slightly restructured the code with the same logic. The function sets eject_pending bit for an eject request since it does not initiate hot-remove operation. This bit is

[PATCH 23/52] ACPI: Add _OST support for ACPI memory hotplug

2012-07-24 Thread Len Brown
From: Toshi Kani Changed acpi_memory_device_notify() to call ACPI _OST method when ACPI memory hotplug operation has completed. Signed-off-by: Toshi Kani Signed-off-by: Len Brown --- drivers/acpi/acpi_memhotplug.c | 43 +++--- 1 file changed, 32

[PATCH 19/52] drivers/thermal/spear_thermal.c: add Device Tree probing capability

2012-07-24 Thread Len Brown
From: Viresh Kumar SPEAr platforms now support DT and so must convert all drivers to support DT. This patch adds DT probing support for SPEAr thermal sensor driver and updates its documentation too. Also, as SPEAr is the only user of this driver and is only available with DT, make this an only

[PATCH 15/52] cpuidle: refactor out cpuidle_enter_state

2012-07-24 Thread Len Brown
From: Colin Cross Split the code to enter a state and update the stats into a helper function, cpuidle_enter_state, and export it. This function will be called by the coupled state code to handle entering the safe state and the final coupled state. Reviewed-by: Santosh Shilimkar Tested-by:

[PATCH 16/52] cpuidle: fix error handling in __cpuidle_register_device

2012-07-24 Thread Len Brown
From: Colin Cross Fix the error handling in __cpuidle_register_device to include the missing list_del. Move it to a label, which will simplify the error handling when coupled states are added. Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar Reviewed-by: Kevin Hilman Tested-by:

[PATCH 08/52] ACPICA: iASL: Improved pathname support

2012-07-24 Thread Len Brown
From: Bob Moore For include files, merge the prefix pathname with the file pathname. Convert backslashes in all pathnames to forward slashes, for readability. Include file pathname changes affect both #include and Include() type operators. Signed-off-by: Bob Moore Signed-off-by: Lin Ming

[PATCH 07/52] ACPICA: ACPI 5/iASL: Add support for PCC keyword

2012-07-24 Thread Len Brown
From: Bob Moore Adds support for the PCC keyword for the Register() resource descriptor macro. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/actypes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/acpi/actypes.h

[PATCH 06/52] ACPICA: Disassembler: Add support for Operation Region externals

2012-07-24 Thread Len Brown
From: Bob Moore Adds missing support for operation regions defined in another table, but referenced via a Field or BankField operator. Generate the correct External statement. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/dsfield.c | 81

[PATCH 39/52] ACPICA: Table manager: deploy new firmware error/warning interfaces

2012-07-24 Thread Len Brown
From: Bob Moore Emit firmware error/warning messages where appropriate for table and FADT errors. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/tbfadt.c | 102 + drivers/acpi/acpica/tbinstal.c |

[PATCH 40/52] ACPICA: Fix some comment fields

2012-07-24 Thread Len Brown
From: Bob Moore No functional change. Fixes some typos and linux divergences. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/acmacros.h | 4 ++-- drivers/acpi/acpica/acobject.h | 4 ++-- drivers/acpi/acpica/exprep.c | 4 ++--

[PATCH 41/52] ACPICA: Add PCC address space to space ID decode function

2012-07-24 Thread Len Brown
From: Bob Moore ACPI 5.0 added PCC space ID. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/utdecode.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/acpi/acpica/utdecode.c

[PATCH 42/52] ACPICA: Split file: tbxface.c -> tbxfload.c

2012-07-24 Thread Len Brown
From: Bob Moore Split out the table load functions in preparation for addition of new interfaces. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/Makefile | 1 + drivers/acpi/acpica/tbxface.c | 165 +---

Re: [PATCH 0/4] ACPI: hotplug messages improvement

2012-07-24 Thread Yasuaki Ishimatsu
Hi Toshi, 2012/07/19 5:40, Toshi Kani wrote: > This patchset improves logging messages for ACPI CPU, Memory, and > Container hotplug notify handlers. The patchset introduces a set of > new macro interfaces, acpi_pr_(), and updates the notify > handlers to use them. acpi_pr_() appends "ACPI"

[PATCH 46/52] ACPICA: Update to version 20120711

2012-07-24 Thread Len Brown
From: Bob Moore Version 20120711. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 9877432..2c744c7 100644 ---

[PATCH 47/52] tools/power: turbostat v2 - re-write for efficiency

2012-07-24 Thread Len Brown
From: Len Brown Measuring large profoundly-idle configurations requires turbostat to be more lightweight. Otherwise, the operation of turbostat itself can interfere with the measurements. This re-write makes turbostat topology aware. Hardware is accessed in "topology order". Redundant hardware

[PATCH 52/52] Thermal: Documentation update

2012-07-24 Thread Len Brown
From: Zhang Rui With commit 6503e5df08008b9a47022b5e9ebba658c8fa69af, the value of /sys/class/thermal/thermal_zoneX/mode has been changed from user/kernel to enabled/disabled. Update the documentation so that users won't be confused. Signed-off-by: Zhang Rui Signed-off-by: Len Brown ---

[PATCH 51/52] Thermal: Add Hysteresis attributes

2012-07-24 Thread Len Brown
From: Durgadoss R The Linux Thermal Framework does not support hysteresis attributes. Most thermal sensors, today, have a hysteresis value associated with trip points. This patch adds hysteresis attributes on a per-trip-point basis, to the Thermal Framework. These attributes are optionally

[PATCH 48/52] tools/power: turbostat: fix large c1% issue

2012-07-24 Thread Len Brown
From: Len Brown Under some conditions, c1% was displayed as very large number, much higher than 100%. c1% is not measured, it is derived as "that, which is left over" from other counters. However, the other counters are not collected atomically, and so it is possible for c1% to be calaculagted

[PATCH 49/52] ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check

2012-07-24 Thread Len Brown
From: Lan Tianyu In the ac.c, power_supply_register()'s return value is not checked. As a result, the driver's add() ops may return success even though the device failed to initialize. For example, some BIOS may describe two ACADs in the same DSDT. The second ACAD device will fail to register,

[PATCH 50/52] Thermal: Make Thermal trip points writeable

2012-07-24 Thread Len Brown
From: Durgadoss R Some of the thermal drivers using the Generic Thermal Framework require (all/some) trip points to be writeable. This patch makes the trip point temperatures writeable on a per-trip point basis, and modifies the required function call in thermal.c. This patch also updates the

[PATCH 44/52] ACPICA: Update header files copyrights to 2012

2012-07-24 Thread Len Brown
From: Bob Moore Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/acexcep.h | 2 +- include/acpi/acnames.h | 2 +- include/acpi/acoutput.h | 2 +- include/acpi/acpi.h | 2 +- include/acpi/acpiosxf.h | 2 +-

[PATCH 37/52] ACPICA: Split exception code utilities to a new file, utexcep.c

2012-07-24 Thread Len Brown
From: Bob Moore Simplifies sharing of these functions. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/Makefile | 1 + drivers/acpi/acpica/acglobal.h | 8 --- drivers/acpi/acpica/utdecode.c | 35 --

[PATCH 36/52] ACPI: acpi_pad: tune round_robin_time

2012-07-24 Thread Len Brown
From: Len Brown In an effort to be fair to bound processes, acpi_pad periodically moves its forced-idle threads. The default interval for moving the threads is 10 seconds. Measurements show that reducing this to 1 second has no power or performance impact, so reduce default to 1 second.

[PATCH 43/52] ACPICA: Add new ACPI table load/unload external interfaces

2012-07-24 Thread Len Brown
From: Bob Moore Add acpi_load_table and acpi_unload_parent_table to support host-directed dynamic table load/unload. Intended to support hotplug addition and removal of SSDTs. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/tbxface.c | 42

[PATCH 35/52] ACPICA: Update to version 20120620

2012-07-24 Thread Len Brown
From: Bob Moore Version 20120620. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 381c940..18f023a 100644 ---

[PATCH 31/52] ACPICA: Disassembler: Emit descriptions for ACPI predefined names

2012-07-24 Thread Len Brown
From: Bob Moore For each predefined name, emit a short description within a comment. https://www.acpica.org/bugzilla/show_bug.cgi?id=959 Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/acglobal.h | 8 drivers/acpi/acpica/aclocal.h

[PATCH 29/52] ACPI: acpi_pad: rename "power_saving" thread to "acpi_pad" thread

2012-07-24 Thread Len Brown
From: Len Brown "acpi_pad/%d" is a better thread name than generic "power_saving/%d" because users who see these threads will know the name of the driver that caused them. Signed-off-by: Len Brown --- drivers/acpi/acpi_pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 25/52] ACPI: Set hotplug _OST support bit to _OSC

2012-07-24 Thread Len Brown
From: Toshi Kani When ACPI_HOTPLUG_OST is defined, set hotplug _OST support bit OSC_SB_HOTPLUG_OST_SUPPORT to indicate that the OS supports hotplug _OST by calling the platform-wide ACPI Operating System Capabilities (_OSC). Signed-off-by: Toshi Kani Signed-off-by: Len Brown ---

[PATCH 21/52] ACPI: Add _OST support for sysfs eject

2012-07-24 Thread Len Brown
From: Toshi Kani Changed acpi_bus_hot_remove_device() to support _OST. This function is also changed to global so that it can be called from hotplug notify handlers to perform hot-remove operation. Changed acpi_eject_store(), which is the sysfs eject handler. It checks eject_pending to see if

[PATCH 13/52] cpuidle: add checks to avoid NULL pointer dereference

2012-07-24 Thread Len Brown
From: "Srivatsa S. Bhat" The existing check for dev == NULL in __cpuidle_register_device() is rendered useless because dev is dereferenced before the check itself. Moreover, correctly speaking, it is the job of the callers of this function, i.e., cpuidle_register_device() &

[PATCH 11/52] ACPICA: Update to version 20120518

2012-07-24 Thread Len Brown
From: Bob Moore Version string 20120518. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index a323a7c..381c940 100644 ---

[PATCH 02/52] ACPICA: Object dump routines: Use common function for string output

2012-07-24 Thread Len Brown
From: Bob Moore For ACPI string objects, always use the common string dump function, acpi_ut_print_string. This function surrounds the string with quotes and handles allowed escape sequences. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown ---

ACPI & Power Management Patches for Linux-3.6-merge - part 1

2012-07-24 Thread Len Brown
Here is my initial queue of patches for Linux 3.6. Please let me know if you see troubles with any of them. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 07/10] random: add new get_random_bytes_arch() function

2012-07-24 Thread H. Peter Anvin
For those who have read the Google+ thread[1] it is pretty clear that there are varying opinions on the idea of removing the RDRAND bypass. I have gathered some performance numbers to make the debate more concrete: RDRAND is between 12 and 15 times faster than the current random pool system

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Rusty Russell
On Tue, 24 Jul 2012 15:01:59 +0200, Sasha Levin wrote: > virtio on it's own was introduced to help solve the fragmentation > around virtualized devices, so I don't think that the main purpose of > doing virtio drivers is due to any performance benefits virtio may > provide. There's one argument

Re: [PATCH] virtio-blk: allow toggling host cache between writeback and writethrough

2012-07-24 Thread Rusty Russell
On Thu, 05 Jul 2012 09:02:23 +0200, Sasha Levin wrote: > On Thu, 2012-07-05 at 08:47 +0200, Paolo Bonzini wrote: > > Il 04/07/2012 23:11, Sasha Levin ha scritto: > > > There are two things going on here: > > > 1. Rename VIRTIO_BLK_F_FLUSH to VIRTIO_BLK_F_WCE > > > 2. Add a new

[PATCH] staging/panel: fix checkpatch warnings

2012-07-24 Thread Toshiaki Yamane
Now checkpatch clean. $ find drivers/staging/panel -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: Single statement macros should not use a do {} while (0) loop Signed-off-by: Toshiaki Yamane ---

Re: [Ilw] Re: 3.4-rc2, ilwagn still most of the time completely unusable

2012-07-24 Thread Norbert Preining
Hi Johannes, Sorry for the late reply, I was travelling around the world ... I have now tested the =2 and =4 settings at home, with the following outcome: On Do, 12 Jul 2012, Johannes Berg wrote: > With the latest, I've extended 11n_disable to have more bits. > > 11n_disable=1 will disable HT

[PATCH 3/3] drivers/mmc/host: Add realtek sdmmc interface driver

2012-07-24 Thread wei_wang
From: Wei WANG Realtek SD/MMC card interface driver is used to access SD/MMC card, with the help of Realtek card reader adapter driver. Signed-off-by: Wei WANG --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |2 + drivers/mmc/host/rtsx_sdmmc.c | 350

[PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-24 Thread wei_wang
From: Wei WANG Realtek card reader core driver is the bus driver for Realtek driver-based card reader, which supplies adapter layer to be used by lower-level pci/usb card reader and upper-level sdmmc/memstick host driver. Signed-off-by: Wei WANG --- Documentation/misc-devices/realtek_cr.txt |

[RFC v2] ARM: sched_clock: update epoch_cyc on resume

2012-07-24 Thread Colin Cross
Many clocks that are used to provide sched_clock will reset during suspend. If read_sched_clock returns 0 after suspend, sched_clock will appear to jump forward. This patch resets cd.epoch_cyc to the current value of read_sched_clock during resume, which causes sched_clock() just after suspend

Re: [RFC PATCH 01/13] driver core: firmware loader: simplify pages ownership transfer

2012-07-24 Thread Ming Lei
On Wed, Jul 25, 2012 at 2:10 AM, Borislav Petkov wrote: >> >> +/* transfer the ownership of pages to firmware */ >> +static void fw_set_page_data(struct firmware_priv *fw_priv) >> +{ >> + struct firmware *fw = fw_priv->fw; >> + >> + fw_priv->data = vmap(fw_priv->pages, fw_priv->nr_pages,

Re: [PATCH 5/5] block: genhd: add an interface to set disk's poll interval

2012-07-24 Thread Aaron Lu
Hi Betty, On Tue, Jul 24, 2012 at 12:55:06PM -0600, Betty Dall wrote: > > > > diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c > > > > index 2f159aa..78c4226 100644 > > > > --- a/drivers/scsi/sr.c > > > > +++ b/drivers/scsi/sr.c > > > > @@ -869,6 +869,7 @@ static int sr_probe(struct device

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-24 Thread Xufeng Zhang
On 7/24/12, Neil Horman wrote: > On Tue, Jul 24, 2012 at 09:50:18AM +0800, xufeng zhang wrote: >> On 07/23/2012 08:14 PM, Neil Horman wrote: >> >On Mon, Jul 23, 2012 at 10:30:34AM +0800, xufeng zhang wrote: >> >>On 07/23/2012 08:49 AM, Neil Horman wrote: >> >>>Not sure I understand how you came

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-24 Thread Xufeng Zhang
On 7/24/12, Vlad Yasevich wrote: And I should clarify the above judgment code. AFAIK, there should be two cases for the bundling when invalid >>stream identifier error happens: 1). COOKIE_ACK ERROR SACK 2). ERROR SACK So I need to deal with the two cases differently.

Re: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-24 Thread Ben Hutchings
On Tue, 2012-07-24 at 09:01 -0700, K. Y. Srinivasan wrote: > Implement the KVP verb - KVP_OP_SET_IP_INFO. This operation configures the > specified interface based on the given configuration. Since configuring > an interface is very distro specific, we invoke an external script to > configure the

Re: [PATCH] staging: bcm: use SEEK_SET instead of 0 in vfs_llseek

2012-07-24 Thread Kevin McKinney
On Tue, Jul 24, 2012 at 09:25:04PM +0530, Vivek Trivedi wrote: > They're equivalent, but SEEK_SET seems more informative... > > Signed-off-by: Vivek Trivedi > Signed-off-by: Namjae Jeon > --- > drivers/staging/bcm/Misc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff

linux-next: manual merge of the mfd tree with Linus' tree

2012-07-24 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in arch/arm/configs/tegra_defconfig between commit dbebe1589d3a ("ARM: tegra: defconfig updates") from Linus' tree and commit 05f3ad2b8ae5 ("ARM: tegra: defconfig: Enable tps6586x gpio") from the mfd tree. Just context changes.

Re: [PATCH 08/17] Tools: hv: Gather subnet information

2012-07-24 Thread Ben Hutchings
On Tue, 2012-07-24 at 09:01 -0700, K. Y. Srinivasan wrote: > Now gather sub-net information for the specified interface. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > --- > tools/hv/hv_kvp_daemon.c | 31 +-- > 1 files changed, 29

Re: [PATCH 03/17] Drivers: hv: kvp: Cleanup error handling in KVP

2012-07-24 Thread Ben Hutchings
On Tue, 2012-07-24 at 09:01 -0700, K. Y. Srinivasan wrote: > In preparation to implementing IP injection, cleanup the way we propagate > and handle errors both in the driver as well as in the user level daemon. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > --- >

Re: [GIT PULL] KVM updates for the 3.6 merge window

2012-07-24 Thread Stephen Rothwell
On Wed, 25 Jul 2012 08:38:36 +1000 Benjamin Herrenschmidt wrote: > > On Tue, 2012-07-24 at 12:04 -0700, Linus Torvalds wrote: > > Ok, this caused conflicts with the s390 and ppc trees. I think I fixed > > them correctly, but the respective arch people really should take a > > look. > > A quick

[PATCH RT] cpu unplug with PREEMPT_LL

2012-07-24 Thread Frank Rowand
With CONFIG_PREEMPT_LL, cpu unplug generates a bunch of BUG: sleeping function called from invalid context BUG: scheduling while atomic To reproduce the problem: echo 0 > /sys/devices/system/cpu/cpu1/online This patch is: - UGLY - lightly tested - should maybe not be included in

Re: [PATCH RESEND] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is disabled

2012-07-24 Thread Konrad Rzeszutek Wilk
On Tue, Jul 24, 2012 at 01:46:27PM -0600, Shuah Khan wrote: > Disable iotlb overflow support when CONFIG_ISA is disabled. Add deprecation You need to check one more thing. In the email I mentioned that the bulk of the drivers that utilize this are ISA, but there are also some that are PCI

Re: [PATCH 2/2] cpu: intel, amd: mask cleared cpuid features

2012-07-24 Thread H. Peter Anvin
On 07/24/2012 04:09 AM, Vladimir Davydov wrote: > > We have not encountered this situation in our environments and I hope we > won't :-) > > But look, these CPUID functions cover majority of CPU features, don't > they? So, most of "normal" apps inside VM will survive migration. > Perhaps, some

[PATCH RFT] regulator: tps6586x: Convert to regulator_[enable|disable|is_enabled|get_voltage_sel]_regmap

2012-07-24 Thread Axel Lin
Signed-off-by: Axel Lin --- This patch depends on Laxman's patches converting tps6586x mfd driver to use regmap APIs. ( merged in mfd tree ) drivers/regulator/tps6586x-regulator.c | 76 +--- 1 file changed, 11 insertions(+), 65 deletions(-) diff --git

Re: [PATCH v4 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-24 Thread Gustavo Padovan
* Gustavo Padovan [2012-07-24 21:12:14 -0300]: > Hi Masatake, > > * Masatake YAMATO [2012-07-16 22:20:18 +0900]: > > > (I resend this mail becasue I got some troubles in mail sending. > > Andrei, [PATCH v4 [2-8]/8] are the same as [PATCH v3 [2-8]/8]. So > > I send [PATCH v4 1/8] only here.

[PATCH] leds: triggers: send uevent when changing triggers

2012-07-24 Thread Colin Cross
Some triggers create sysfs files when they are enabled. Send a uevent "change" notification whenever the trigger is changed to allow userspace processes such as udev to modify permissions on the new files. Signed-off-by: Colin Cross --- drivers/leds/led-triggers.c | 13 + 1 files

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-07-24 Thread Takao Indoh
(2012/07/25 0:55), Cong Wang wrote: On Mon, 2012-07-23 at 20:22 +0900, Takao Indoh wrote: (2012/07/23 19:00), Dave Young wrote: On 07/17/2012 11:15 AM, Takao Indoh wrote: Hi Cong, When I tested kdump with 3.5.0-rc6 kernel, I found a problem of kdump kernel's panic in

Re: [PATCH v3 2/8] bluetooth: Added /proc/net/bnep via bt_procfs_init()

2012-07-24 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO [2012-07-11 13:59:35 +0900]: > Signed-off-by: Masatake YAMATO > --- > net/bluetooth/bnep/sock.c | 22 -- > 1 file changed, 20 insertions(+), 2 deletions(-) For the rest of the series I'd like you add some commit message to your patch, only

[GIT PULL] cgroup changes for v3.6-rc1

2012-07-24 Thread Tejun Heo
Hello, Linus. Please pull from the following branch to receive cgroup changes for v3.6-rc1. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.6 Nothing too interesting. A minor bug fix and some cleanups. Thanks. Daniel Wagner (2): cgroup: Remove populate()

Re: [PATCH v4 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-24 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO [2012-07-16 22:20:18 +0900]: > (I resend this mail becasue I got some troubles in mail sending. > Andrei, [PATCH v4 [2-8]/8] are the same as [PATCH v3 [2-8]/8]. So > I send [PATCH v4 1/8] only here. If I should the rest of v4 patches, > please, let me know

Re: Suse 11 SP1 kernel panic on HP hardware

2012-07-24 Thread tingwei liu
On Wed, Jul 25, 2012 at 5:51 AM, Jiri Slaby wrote: > On 07/24/2012 12:56 PM, tingwei liu wrote: >> On Tue, Jul 24, 2012 at 6:53 PM, Alan Cox wrote: >>> On Tue, 24 Jul 2012 18:39:20 +0800 >>> tingwei liu wrote: >>> Suse 11 SP1 kernel panic。 I can't debug it without debuginfo. Who

Re: [PATCH 1/1] kthread: disable preemption during complete()

2012-07-24 Thread Tejun Heo
Hello, On Tue, Jul 24, 2012 at 05:05:32PM -0700, Peter Boonstoppel wrote: > After a kthread is created it signals the requester using complete() > and enters TASK_UNINTERRUPTIBLE. However, since complete() wakes up > the requesting thread this can cause a preemption. The preemption will > not

[GIT PULL] workqueue changes for v3.6-rc1

2012-07-24 Thread Tejun Heo
Hello, Linus. Please pull from the following branch to receive workqueue changes for v3.6-rc1. git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-3.6 There are three major changes. * WQ_HIGHPRI has been reimplemented so that high priority work items are served by worker threads

[PATCH 1/1] kthread: disable preemption during complete()

2012-07-24 Thread Peter Boonstoppel
After a kthread is created it signals the requester using complete() and enters TASK_UNINTERRUPTIBLE. However, since complete() wakes up the requesting thread this can cause a preemption. The preemption will not remove the task from the runqueue (for that schedule() has to be invoked directly).

Re: [PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-24 Thread Tomoya MORINAGA
Hi Arnd, Let me know this patch status. If you have still any concern, let me know. BTW, now I remember, Did you take part in LinuxConJapan last month ? I also took part in this event as volunteer staff. Additionally, I took charge of your session as time keeper. Thanks in advance. -- ROHM

Re: [RFC] kernel, logbuf: add support for external log buffer

2012-07-24 Thread Andrew Morton
On Mon, 11 Jun 2012 08:13:08 +0200 Heiko Schocher wrote: > This merges support for the previously DENX-only kernel > feature of specifying an alternative, "external" buffer > for kernel printk messages and their associated metadata. > This patch is based on DENX-only kernel commit: > > commit

  1   2   3   4   5   6   7   8   9   10   >