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

2012-07-24 Thread Vladimir Davydov
On 07/25/2012 04:57 AM, H. Peter Anvin wrote: 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 s

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

2012-07-24 Thread Laxman Dewangan
On Wednesday 25 July 2012 06:48 AM, Stephen Rothwell wrote: * PGP Signed by an unknown key 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 05f3ad2b8ae

Re: [linux-pm] ACPI & Power Management Patches for Linux-3.6-merge - part 1

2012-07-24 Thread Amit Kachhap
On 25 July 2012 09:10, Len Brown wrote: > Here is my initial queue of patches for Linux 3.6. > Please let me know if you see troubles with any of them. Hi Len, I cannot see my patches (V5) http://www.spinics.net/lists/linux-pm/msg27866.html in your list. V4 version was part of your pull request

tasklist_lock lockdep warnings on 3.6

2012-07-24 Thread Sasha Levin
Hi all, I've stumbled on the following while fuzzing with trinity inside a KVM tools guest on 3.6 kernel: [ 250.495512] == [ 250.496020] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ] [ 250.496020] 3.5.0-sasha-01646-g39c0dda #2

[PATCH] mmc: card: Add Sanitize unit test

2012-07-24 Thread Maya Erez
This test write data to the card, then send DISCARD on random addresses on the card, send SANITIZE to the card to erase all the unmapped areas. Signed-off-by: Maya Erez --- This patch depends of the following patches: [PATCH RESEND v7 1/2] block: ioctl support for sanitize in eMMC 4.5 [PATCH

Re: [PATCH] fixed a macro coding style issue

2012-07-24 Thread Dmitry Torokhov
On Wed, Jul 25, 2012 at 07:15:12AM +0100, Al Viro wrote: > On Tue, Jul 24, 2012 at 10:37:55PM -0700, Dmitry Torokhov wrote: > > 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 > > > ---

UNABLE TO PROCESS LOG SUBMISSION: hello

2012-07-24 Thread Contest Robot
(This is an automatic reply.) Your message to iar...@iaru.org could not be processed because the Subject: of the message hello is not a valid callsign. Please resubmit your log with an email Subject: header that looks like this Subject: your-callsign If you are submitt

Re: [Bcache v15 07/16] Closures

2012-07-24 Thread Kent Overstreet
On Tue, Jul 24, 2012 at 09:04:50AM -0700, Alex Elsayed wrote: > Out of curiosity, have you seen Featherstitch[1]?. Valerie Aurora did a > really nice article[2] about it for LWN a ways back. I don't think I had. Not sure if any of it is applicable, but interesting stuff :) > > > [1] http://fea

[PATCH 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-07-24 Thread Hideki EIRAKU
This patch adds an IPMMU device and notifies the IPMMU driver which devices are connected via the IPMMU module. All devices connected to the main memory bus via the IPMMU module MUST be registered when SHMOBILE_IPMMU and SHMOBILE_IOMMU are enabled because physical address cannot be used while the

[PATCH 0/2] Renesas IPMMU driver for sh7372

2012-07-24 Thread Hideki EIRAKU
This is the Renesas IPMMU driver, IOMMU API implementation and IPMMU device support for sh7372 (AP4EVB and Mackerel). The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides addre

[PATCH 2/3] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-07-24 Thread Hideki EIRAKU
Previously the vb2_dma_contig_mmap() function was using a dma_addr_t as a physical address. The two addressses are not necessarily the same. For example, when using the IOMMU funtion on certain platforms, dma_addr_t addresses are not directly mappable physical address. dma_mmap_coherent() maps the

[PATCH 3/3] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-07-24 Thread Hideki EIRAKU
fb_mmap() implemented in fbmem.c uses smem_start as the physical address of the frame buffer. In the sh_mobile_lcdc driver, the smem_start is a dma_addr_t that is not a physical address when IOMMU is enabled. dma_mmap_coherent() maps the address correctly. It is available on ARM platforms. Sign

[PATCH 0/3] Use dma_mmap_coherent to support IOMMU mapper

2012-07-24 Thread Hideki EIRAKU
There is a dma_mmap_coherent() API in some architectures. This API provides a mmap function for memory allocated by dma_alloc_coherent(). Some drivers mmap a dma_addr_t returned by dma_alloc_coherent() as a physical address. But such drivers do not work correctly when IOMMU mapper is used. Hidek

[PATCH 1/3] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-07-24 Thread Hideki EIRAKU
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API in this architecture. The name is already defined in PowerPC. Signed-off-by: Hideki EIRAKU --- arch/arm/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/

[PATCH 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-07-24 Thread Hideki EIRAKU
This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides address translation including tile-linear translation. This

[Fwd: [ANNOUNCE] autofs 5.0.7 release]

2012-07-24 Thread Ian Kent
Hi all, Oops, I sent this without updating the autofs mailing list address in my release announcement template and I didn't sign the message which I wanted to do. Sorry for the noise. Ian Forwarded Message From: Ian Kent To: aut...@linux.kernel.org Cc: linux-fsde...@vger.kern

[PATCH] spi: omap2-mcspi: In case of dma errors fall back to pio

2012-07-24 Thread Shubhrajyoti D
In case there are dma errors currently the driver exits. Make the spi driver fall back to pio mode in case of dma errors. If the DMA engine is not selected the driver exits.This patch makes the spi fall back to pio in that case. Also adds a field dma_unusable to struct omap2_mcspi. Signed-off-b

[ANNOUNCE] autofs 5.0.7 release

2012-07-24 Thread Ian Kent
Hi all, Once again this is long overdue so there are many changes. The kernel patches are not being updated any more because of the introduction of the vfs-automount changes to the VFS. If there are needs in this area we will need to discuss how to deal with them on the mailing list. Known issue

Re: [PATCH] extcon: extcon_gpio: Replace gpio_request_one by devm_gpio_request_one

2012-07-24 Thread Chanwoo Choi
On 07/24/2012 10:26 AM, Axel Lin wrote: > commit 01eaf24 "extcon: Convert extcon_gpio to devm_gpio_request_one" > missed the replacement for devm_gpio_request_one. fix it. > > Signed-off-by: Axel Lin > --- > drivers/extcon/extcon_gpio.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(

RE: [PATCH v2 0/4] ACPI: hotplug messages improvement

2012-07-24 Thread Pandarathil, Vijaymohan R
Hi Toshi, Tested your patches on a KVM setup. Since all your acpi_pr* macros are in the error path, I didn't see an easy way to trigger them. Instead added an acpi_pr_err() message in the success path and tested out vcpu addition/deletion sequence. No regressions seen in the functional tests an

Re: [PATCH] fixed a macro coding style issue

2012-07-24 Thread Al Viro
On Tue, Jul 24, 2012 at 10:37:55PM -0700, Dmitry Torokhov wrote: > 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 inse

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

2012-07-24 Thread Bryan Wu
On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross wrote: > 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. > This looks like an workaround

Re: [PATCH] extcon: arizona: Implement button detection support

2012-07-24 Thread Chanwoo Choi
Hi Mark, On 07/21/2012 01:07 AM, Mark Brown wrote: > As well as identifying accessories the accessory detection hardware on > Arizona class devices can also detect a number of buttons which we should > report via the input API. > > Signed-off-by: Mark Brown > --- > drivers/extcon/extcon-arizon

Re: [PATCH] fixed a macro coding style issue

2012-07-24 Thread Baodong Chen
this patch definitely changes semantics. so please discard it, sorry about that! On Wed, Jul 25, 2012 at 1:37 PM, Dmitry Torokhov wrote: > 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 >> ---

[PATCH V7 4/4] (Updated) MIPS: Add defconfig for Loongson1B

2012-07-24 Thread Kelvin Cheung
This patch adds defconfig for Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Add CONFIG_USB_ANNOUNCE_NEW_DEVICES in default configuration. --- arch/mips/configs/ls1b_defconfig | 109 ++ 1 files changed, 109 insertions(+), 0 deletio

[PATCH V7 3/4] (Updated) MIPS: Add Makefile and Kconfig for Loongson1B

2012-07-24 Thread Kelvin Cheung
This patch adds Makefile and Kconfig related to Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Change the load address of kernel to 0x8010. --- arch/mips/Kbuild.platforms |1 + arch/mips/Kconfig | 31 +++

[PATCH V7 2/4] (Updated) MIPS: Add board support for Loongson1B

2012-07-24 Thread Kelvin Cheung
This patch adds basic platform devices for Loongson1B, including serial port, ethernet, usb, rtc and interrupt handler. Loongson1B UART is compatible with NS16550A. Loongson1B GMAC is built around Synopsys IP Core. Use normal descriptor instead of enhanced descriptor. Thanks to Giuseppe for updat

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; > linux-...@vger.k

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 b/drivers/inp

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 +++ b/dri

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 dro

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 nececssa

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 message

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 lo

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 a

[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 when

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 a/drivers/acpi/acpica/psargs

[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 up

[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 a/drivers/

[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 --- a/include/

[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 +- include/acpi/acpiosxf

[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 i

[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 Sig

[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: sri

[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 unle

[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 arch_cpuidle_ente

[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 rel

[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 deleti

[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 acpi_pm_device_sleep_state

[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 d0f59c3..a75

[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 100644

[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 e86f897..577a44e

[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 b/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: Jung

[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 ch

[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 insertions(

[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: San

[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: Ke

[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 Sig

[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 b/i

[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 | 15

[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 ++-- drivers/acpi/

[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 b/drivers/acpi/

[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 +--- drive

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" pref

[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 --- a/include/

[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 a

[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 --- Docum

[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 writa

[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 Doc

[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 -- drivers/acpi/acpica/utexcep.

[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. Signed-

[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 --- a/include/

[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 a/d

[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 --- drivers/acpi/

[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 th

[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() & cpuidle_enable_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 --- a/i

[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 --- drivers/acpi/acpica/ex

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 (f

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 i

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 VIRTIO_BLK_F_CONFI

[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 --- drivers/staging/panel/panel

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 co

[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 |

  1   2   3   4   5   6   >