Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-03 Thread Feng Tang
On Fri, 3 Aug 2012 11:26:04 +0530 Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 08/03/2012 09:52 AM, Len Brown wrote: Applied. thanks for the refresh. This patch needs to be CC'ed to stable also right? Yes, I've sent the patch directly to stable 3 days ago. thanks for

[PATCH V2] regulator: tps6586x: add support for SYS rail

2012-08-03 Thread Laxman Dewangan
Device have SYS rail which is always ON. It is system power bus. LDO5 and LDO_RTC get powered through this rail internally. Add support for this rail and make the LDO5/LDO_RTC input supply to sys. Update document accordingly. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from

Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-03 Thread Srivatsa S. Bhat
On 08/03/2012 11:33 AM, Feng Tang wrote: On Fri, 3 Aug 2012 11:26:04 +0530 Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 08/03/2012 09:52 AM, Len Brown wrote: Applied. thanks for the refresh. This patch needs to be CC'ed to stable also right? Yes, I've sent the patch

Re: [RFC PATCH 2/3] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-03 Thread Taku Izumi
On Sat, 28 Jul 2012 19:42:51 +0800 Jiang Liu liu...@gmail.com wrote: The first is an ACPI hotplug slot enumerator, which enumerates ACPI hotplug slots on load and provides callbacks to manage those hotplug slots. An ACPI hotplug slot is an abstraction of receptacles, where a group of system

Re: [PATCH] regulator: tps6586x: add support for SYS rail

2012-08-03 Thread Laxman Dewangan
On Thursday 02 August 2012 10:14 PM, Stephen Warren wrote: On 08/02/2012 05:16 AM, Laxman Dewangan wrote: I believe you need to following patch on top of this, or the sys-supply property is not used: yes, it was missed. I tested with this and it worked fine. Thanks for pointing this. BTW,

[PATCH 0/4] PCI/PM: PCI D3cold support fixes for 3.6-rc1

2012-08-03 Thread Huang Ying
[BUGFIX 1/4] PCI/PM: enable D3/D3cold by default for most devices [BUGFIX 2/4] PCI/PM: Keep parent bridge active when probing device [BUGFIX 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending [PATCH 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed Best Regards, Huang

[BUGFIX 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending

2012-08-03 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pcim=134338059022620w=2 Where lspci does not work properly if a device and the corresponding parent bridge (such as PCIe port) is suspended. This is because the device configuration space registers will be not accessible if the

[PATCH 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed

2012-08-03 Thread Huang Ying
This patch adds ABI document for the following sysfs file: /sys/bus/pci/devices/.../d3cold_allowed Signed-off-by: Huang Ying ying.hu...@intel.com Acked-by: Rafael J. Wysocki r...@sisk.pl --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) ---

[BUGFIX 2/4] PCI/PM: Keep parent bridge active when probing device

2012-08-03 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pcim=134329923124234w=2 The root cause of the bug is as follow. If a device is not bound with the corresponding driver, the device runtime PM will be disabled and the device will be put into suspended state. So that, the bridge/PCIe

[BUGFIX 1/4] PCI/PM: enable D3/D3cold by default for most devices

2012-08-03 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-usbm=134318961120825w=2 Originally, device lower power states include D1, D2, D3. After that, D3 is further divided into D3hot and D3cold. To support both scenario safely, original D3 is mapped to D3cold. When adding D3cold

Re: [RFC] netconsole.txt: nc needs -p to specify the listening port

2012-08-03 Thread Dirk Gouders
Cong Wang xiyou.wangc...@gmail.com writes: On Fri, Aug 3, 2012 at 4:39 AM, Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de wrote: From d756d2750e4cf07d3c0942dc3c491d57631d4338 Mon Sep 17 00:00:00 2001 From: Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de Date: Thu, 2 Aug 2012

3.6-rc1: apple-gmux don't link, that mess the wole compilation because no vmlinuz produced

2012-08-03 Thread werner
CC init/version.o LD init/built-in.o drivers/built-in.o: In function `gmux_probe': apple-gmux.c:(.devinit.text+0x6daa8): undefined reference to `apple_bl_unregister' drivers/built-in.o: In function `gmux_remove': apple-gmux.c:(.devexit.text+0x8f80): undefined reference to

Re: [Xen-devel] Was: Re: [GIT PULL] timer changes for v3.6, Is: Regression introduced by 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1

2012-08-03 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: On 08/02/2012 04:52 PM, Linus Torvalds wrote: On Mon, Jul 23, 2012 at 1:24 PM, John Stultz john.stu...@linaro.org wrote: Great! Thanks again so much for the testing and quick reporting! Hmm. I'm just cutting 3.6-rc1, and noticing that

Re: Linux 3.6-rc1

2012-08-03 Thread Artem Bityutskiy
Hi Linus, On Thu, 2012-08-02 at 18:17 -0700, Linus Torvalds wrote: Yeah, it's actually only just over 12 days since 3.5 was released, but I hate the people who send me last-minute pull requests, so I like pulling the rug out from under people who plan on doing their pull request in day 13 of

[PATCH v2 1/3] pwm: samsung: add missing device pointer to struct pwm_chip

2012-08-03 Thread Jingoo Han
This patch adds missing device pointer to struct pwm_chip. If the device pointer is NULL, pwmchip_add() will return error. Signed-off-by: Jingoo Han jg1@samsung.com --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH v2 2/3] pwm: samsung: set the number of PWMs as 4

2012-08-03 Thread Jingoo Han
Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be set as 4. Signed-off-by: Jingoo Han jg1@samsung.com --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-samsung.c

[PATCH v2 3/3] pwm: samsung: replace pwm_id with hwpwm memeber of pwm_device

2012-08-03 Thread Jingoo Han
This patch replaces pwm_id with hwpwm memeber of pwm_device. The pwm_id of struct s3c_chip is unncessary, since hwpwm can do same thing. Signed-off-by: Jingoo Han jg1@samsung.com --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |9 - 1 files changed, 4 insertions(+), 5

Re: R.I.P. pdflush

2012-08-03 Thread Artem Bityutskiy
On Thu, 2012-08-02 at 17:27 -0400, Jeff Mahoney wrote: On 7/25/12 11:11 AM, Artem Bityutskiy wrote: For example, reiserfs deadlocked quickly when I tested it using xfstests with resierfs quota support enabled. I spend several days trying to fix this, but reiserfs is quite complex and I'd

Re: [PATCH V5 0/4] Improve virtio-blk performance

2012-08-03 Thread Asias He
On 08/03/2012 05:40 AM, Jens Axboe wrote: On 08/02/2012 08:25 AM, Asias He wrote: Hi folks, This version added REQ_FLUSH and REQ_FUA support as suggested by Christoph and rebased against latest linus's tree. Jens, could you please consider picking up the dependencies 1/4 and 2/4 in your tree.

[PATCH V4 01/16] MIPS: Loongson: Add basic Loongson-3 definition.

2012-08-03 Thread Huacai Chen
Loongson-3 is a multi-core MIPS family CPU, it support MIPS64R2 fully. Loongson-3 has the same IMP field (0x6300) as Loongson-2. Loongson-3 has a hardware-maintained cache, system software doesn't need to maintain coherency. Loongson-3A is the first revision of Loongson-3, and it is the quad-

[PATCH V4 07/16] MIPS: Loongson 3: Add IRQ init and dispatch support.

2012-08-03 Thread Huacai Chen
IRQ routing path of Loongson-3: Devices(most) -- I8259 -- HT Controller -- IRQ Routing Table -- CPU ^ | Device(legacy devices such as UART) -- Bonito ---| IRQ Routing Table route 32 INTs to CPU's

[PATCH V4 09/16] MIPS: Loongson: Add swiotlb to support big memory (4GB).

2012-08-03 Thread Huacai Chen
This is probably a workaround because Loongson doesn't support DMA address above 4GB. If memory is more than 4GB, CONFIG_SWIOTLB and ZONE_DMA32 should be selected. In this way, DMA pages are allocated below 4GB preferably. However, CONFIG_SWIOTLB+ZONE_DMA32 is not enough, so, we provide a

[PATCH V4 11/16] drm/radeon: Make radeon card usable for Loongson.

2012-08-03 Thread Huacai Chen
1, Handle io prot correctly for MIPS. 2, Define SAREA_MAX as the size of one page. 3, Include swiotlb.h if SWIOTLB configured. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com Cc: dri-de...@lists.freedesktop.org ---

[PATCH V4 12/16] ALSA: HDA: Make hda sound card usable for Loongson.

2012-08-03 Thread Huacai Chen
Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com Cc: alsa-de...@alsa-project.org

[PATCH V4 14/16] MIPS: Loongson 3: Add CPU hotplug support.

2012-08-03 Thread Huacai Chen
Tips of Loongson's CPU hotplug: 1, To fully shutdown a core in Loongson 3, the target core should go to CKSEG1 and flush all L2 cache entries at first. Then, another core (usually Core 0) can safely disable the clock of the target core. So play_dead() call loongson3_play_dead() via CKSEG1

[PATCH V4 16/16] MIPS: Loongson: Add a Loongson-3 default config file.

2012-08-03 Thread Huacai Chen
Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/configs/loongson3_defconfig | 283 + 1 files changed, 283 insertions(+), 0 deletions(-) create mode 100644

[PATCH V4 15/16] MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

2012-08-03 Thread Huacai Chen
When poweroff machine, kernel_power_off() call disable_nonboot_cpus(). And if we have HOTPLUG_CPU configured, disable_nonboot_cpus() is not an empty function but attempt to actually disable the nonboot cpus. Since system state is SYSTEM_POWER_OFF, play_dead() won't be called and thus

[PATCH V4 13/16] MIPS: Loongson 3: Add Loongson-3 SMP support.

2012-08-03 Thread Huacai Chen
IPI registers of Loongson-3 include IPI_SET, IPI_CLEAR, IPI_STATUS, IPI_EN and IPI_MAILBOX_BUF. Each bit of IPI_STATUS indicate a type of IPI and IPI_EN indicate whether the IPI is enabled. The sender write 1 to IPI_SET bits generate IPIs in IPI_STATUS, and receiver write 1 to bits of IPI_CLEAR to

Re: [PATCH V5 3/4] virtio-blk: Add bio-based IO path for virtio-blk

2012-08-03 Thread Asias He
On 08/03/2012 06:28 AM, Michael S. Tsirkin wrote: On Thu, Aug 02, 2012 at 02:25:55PM +0800, Asias He wrote: diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index c0bbeb4..95cfeed 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -14,6 +14,9 @@

[PATCH V4 10/16] MIPS: Loongson: Add Loongson-3 Kconfig options.

2012-08-03 Thread Huacai Chen
Added Kconfig options include: Loongson-3 CPU and machine definition, UEFI-like firmware interface, HT-linked PCI, big memory support, etc. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/Kconfig

[PATCH V4 00/16] MIPS: Add Loongson-3 based machines support.

2012-08-03 Thread Huacai Chen
This patchset is for git repository git://git.linux-mips.org/pub/scm/ ralf/linux. Loongson-3 is a multi-core MIPS family CPU, it is MIPS64R2 compatible and has the same IMP field (0x6300) as Loongson-2. These patches make Linux kernel support Loongson-3 CPU and Loongson-3 based computers

[PATCH V4 02/16] MIPS: Loongson: Add basic Loongson-3 CPU support.

2012-08-03 Thread Huacai Chen
Basic Loongson-3 CPU support include: CPU probing, TLB and cache initializing, cache flushing method, etc. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/kernel/Makefile|1 +

[PATCH V4 03/16] MIPS: Loongson 3: Add Lemote-3A machtypes definition.

2012-08-03 Thread Huacai Chen
Add four Loongson-3 based machine types: MACH_LEMOTE_A1004/MACH_LEMOTE_A1201 are laptops; MACH_LEMOTE_A1101 is mini-itx; MACH_LEMOTE_A1205 is all-in-one machine. The most significant differrent between A1004/A1201 and A1101/A1205 is the laptops have EC but others don't. Signed-off-by: Huacai

[PATCH V4 04/16] MIPS: Loongson: Make Loongson-3 to use BCD format for RTC.

2012-08-03 Thread Huacai Chen
Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/include/asm/mach-loongson/mc146818rtc.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH V4 08/16] MIPS: Loongson 3: Add serial port support.

2012-08-03 Thread Huacai Chen
Loongson family machines has three types of serial port: PCI UART, LPC UART and CPU internal UART. Loongson-2E and parts of Loongson-2F based machines use PCI UART; most Loongson-2F based machines use LPC UART; Loongson-2G/3A has both LPC and CPU UART but usually use CPU UART. Port address of

[PATCH V4 06/16] MIPS: Loongson 3: Add HT-linked PCI support.

2012-08-03 Thread Huacai Chen
Loongson family machines use Hyper-Transport bus for inter-core connection and device connection. The PCI bus is a subordinate linked at HT1. With UEFI-like firmware interface, We don't need fixup for PCI irq routing. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao

[PATCH V4 05/16] MIPS: Loongson: Add UEFI-like firmware interface support.

2012-08-03 Thread Huacai Chen
The new UEFI-like firmware interface has 3 advantages: 1, Firmware export a physical memory map which is similar to X86's E820 map, so prom_init_memory() will be more elegant that #ifdef clauses can be removed. 2, Firmware export a pci irq routing table, we no longer need pci irq routing

Re: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-03 Thread Andi Shyti
Hi Tony, for your very helpful comments on all on the patches in this first submission attempt, I will digest and regurgitate a second attempt as soon as I can. once you have digested and regurgitated :), you could also split the patchset in smaller patches, I would say at least one patch per

RE: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-03 Thread Virupax SADASHIVPETIMATH
-Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Thursday, August 02, 2012 8:18 PM To: Virupax SADASHIVPETIMATH Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Praveena NADAHALLY Subject: Re:

[PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Fengguang Wu
On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: From: Fengguang Wu fengguang...@intel.com Date: Thu, 2 Aug 2012 19:05:43 +0800 Fix a buffer overflow bug by removing the revision transform code. [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 [ 22.097508] isdnloop:

Re: Oops in audit_copy_inode

2012-08-03 Thread Miklos Szeredi
Eric Paris epa...@redhat.com writes: I believe this was already found and fixed: https://lkml.org/lkml/2012/7/25/259 Which was pulled by Linus in: 3134f37e931d75931bdf6d4eacd82a3fd26eca7c Okay, yes. I was actually CC-d on that, but missed the email. Thanks, Miklos -- To unsubscribe from

[PATCH v2 01/10] KVM: iommu: fix releasing unmapped page

2012-08-03 Thread Xiao Guangrong
There are two bugs: - the 'error page' is forgot to be released [ it is unneeded after commit a2766325cf9f9, for backport, we still do kvm_release_pfn_clean for the error pfn ] - guest pages are always released regardless of the unmapped page (e,g, caused by hwpoison) Signed-off-by: Xiao

[PATCH v2 02/10] KVM: introduce KVM_PFN_ERR_FAULT

2012-08-03 Thread Xiao Guangrong
After that, the exported and un-inline function, get_fault_pfn, can be removed Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |2 +- include/linux/kvm_host.h |3 ++- virt/kvm/kvm_main.c | 12 +++- 3 files changed, 6

[PATCH v2 03/10] KVM: introduce KVM_PFN_ERR_HWPOISON

2012-08-03 Thread Xiao Guangrong
Then, get_hwpoison_pfn and is_hwpoison_pfn can be removed Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |2 +- include/linux/kvm_host.h |2 +- virt/kvm/kvm_main.c | 13 + 3 files changed, 3 insertions(+), 14 deletions(-)

[PATCH v2 04/10] KVM: introduce KVM_PFN_ERR_BAD

2012-08-03 Thread Xiao Guangrong
Then, remove get_bad_pfn Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- include/linux/kvm_host.h |1 + virt/kvm/kvm_main.c |7 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index

[PATCH v2 05/10] KVM: inline is_*_pfn functions

2012-08-03 Thread Xiao Guangrong
These functions are exported and can not inline, move them to kvm_host.h to eliminate the overload of function call Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- include/linux/kvm_host.h | 19 --- virt/kvm/kvm_main.c | 18 -- 2 files

[PATCH v2 06/10] KVM: remove the unused declare

2012-08-03 Thread Xiao Guangrong
Remove it since it is not used anymore Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- include/linux/kvm_host.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index f604d1d..bdf2182 100644 ---

[PATCH v2 07/10] KVM: introduce KVM_ERR_PTR_BAD_PAGE

2012-08-03 Thread Xiao Guangrong
It is used to eliminate the overload of function call and cleanup the code Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- include/linux/kvm_host.h |9 +++-- virt/kvm/async_pf.c |2 +- virt/kvm/kvm_main.c | 13 + 3 files changed, 9

RE: New TPM driver, hwrng driver and fixes (2)

2012-08-03 Thread Peter.Huewe
Hi James, Reverted: CC [M] drivers/char/tpm/tpm_i2c_infineon.o drivers/char/tpm/tpm_i2c_infineon.c:740: error: lvalue required as unary operand make[1]: *** [drivers/char/tpm/tpm_i2c_infineon.o] Error 1 Was this code tested? Yes - quite extensively and also reviewed quite extensively.

[PATCH v2 08/10] KVM: do not release the error pfn

2012-08-03 Thread Xiao Guangrong
After commit a2766325cf9f9, the error pfn is replaced by the error code, it need not be released anymore [ The patch has been compiling tested for powerpc ] Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/powerpc/kvm/e500_tlb.c |1 - arch/x86/kvm/mmu.c |

[PATCH v2 09/10] KVM: do not release the error page

2012-08-03 Thread Xiao Guangrong
After commit a2766325cf9f9, the error page is replaced by the error code, it need not be released anymore [ The patch has been compiling tested for powerpc ] Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/powerpc/kvm/44x_tlb.c |1 - arch/powerpc/kvm/book3s_pr.c |

[PATCH v2 10/10] KVM: let the error pfn not depend on error code

2012-08-03 Thread Xiao Guangrong
Currently, we use the error code as error pfn to indicat the error condition, it is not straightforward and it will not work on PAE 32-bit cpu with huge memory, since the valid physical address can be at most 52 bits For the normal pfn, the highest 12 bits should be zero, so we can mask these

[RFC PATCH V6 00/19] memory-hotplug: hot-remove physical memory

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com This patch series aims to support physical memory hot-remove. The patches can free/remove following things: - acpi_memory_info : [RFC PATCH 4/19] - /sys/firmware/memmap/X/{end, start, type} : [RFC PATCH 8/19] -

[RFC PATCH V6 02/19] memory-hotplug: implement offline_memory()

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com The function offline_memory() will be called when hot removing a memory device. The memory device may contain more than one memory block. If the memory block has been offlined, __offline_pages() will fail. So we should try to offline one memory block at a

[RFC PATCH V6 09/19] memory-hotplug: does not release memory region in PAGES_PER_SECTION chunks

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Since applying a patch(de7f0cba96786c), release_mem_region() has been changed as called in PAGES_PER_SECTION chunks because register_memory_resource() is called in PAGES_PER_SECTION chunks by add_memory(). But it seems firmware dependency. If

[RFC PATCH V6 19/19] memory-hotplug: remove sysfs file of node

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com The patch adds node_set_offline() and unregister_one_node() to remove_memory() for removing sysfs file of node. CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown len.br...@intel.com CC: Benjamin

[RFC PATCH V6 01/19] memory-hotplug: rename remove_memory() to offline_memory()/offline_pages()

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com remove_memory() only try to offline pages. It is called in two cases: 1. hot remove a memory device 2. echo offline /sys/devices/system/memory/memoryXX/state In the 1st case, we should also change memory block's state, and notify the

[RFC PATCH V6 04/19] memory-hotplug: offline and remove memory when removing the memory device

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com We should offline and remove memory when removing the memory device. The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1 /sys/bus/pci/devices/PNP0C80:XX/eject In the 1st case, acpi_memory_disable_device() will

[RFC PATCH V6 07/19] memory-hotplug: call acpi_bus_remove() to remove memory device

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com The memory device has been ejected and powoffed, so we can call acpi_bus_remove() to remove the memory device from acpi bus. CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown len.br...@intel.com CC: Benjamin Herrenschmidt

Re: [PATCH 8/9] KVM: do not release the error pfn

2012-08-03 Thread Xiao Guangrong
On 08/02/2012 09:14 PM, Marcelo Tosatti wrote: On Sun, Jul 29, 2012 at 04:18:58PM +0800, Xiao Guangrong wrote: After commit a2766325cf9f9, the error pfn is replaced by the error code, it need not be released anymore [ The patch is compiling tested for powerpc ] Signed-off-by: Xiao Guangrong

[RFC PATCH V6 17/19] memory_hotplug: clear zone when the memory is removed

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert these when the memory is removed. Add a new function __remove_zone() to do this. CC: David Rientjes

[RFC PATCH V6 11/19] memory-hotplug: remove_memory calls __remove_pages

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com The patch adds __remove_pages() to remove_memory(). Then the range of phys_start_pfn argument and nr_pages argument in __remove_pagse() may have different zone. So zone argument is removed from __remove_pages() and __remove_pages()

[RFC PATCH V6 18/19] memory-hotplug: add node_device_release

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When calling unregister_node(), the function shows following message at device_release(). Device 'node2' does not have a release() function, it is broken and must be fixed. So the patch implements node_device_release() CC: David Rientjes

[RFC PATCH V6 08/19] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to remove them. Note : The code does not free

[RFC PATCH V6 03/19] memory-hotplug: store the node id in acpi_memory_device

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com The memory device has only one node id. Store the node id when enable the memory device, and we can reuse it when removing the memory device. CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown len.br...@intel.com CC:

[RFC PATCH V6 05/19] memory-hotplug: check whether memory is present or not

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system supports memory hot-remove, online_pages() may online removed pages. So online_pages() need to check whether onlining pages are present or not. CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown

[RFC PATCH V6 06/19] memory-hotplug: export the function acpi_bus_remove()

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com The function acpi_bus_remove() can remove a acpi device from acpi device. When a acpi device is removed, we need to call this function to remove the acpi device from acpi bus. So export this function. CC: David Rientjes rient...@google.com CC: Jiang Liu

[RFC PATCH V6 13/19] memory-hotplug: check page type in get_page_bootmem

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com There is a possibility that get_page_bootmem() is called to the same page many times. So when get_page_bootmem is called to the same page, the function only increments page-_count. CC: David Rientjes rient...@google.com CC: Jiang Liu

[RFC PATCH V6 14/19] memory-hotplug: move register_page_bootmem_info_node and put_page_bootmem for sparse-vmemmap

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com For implementing register_page_bootmem_info_node of sparse-vmemmap, register_page_bootmem_info_node and put_page_bootmem are moved to memory_hotplug.c CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown

[RFC PATCH V6 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com We don't call __add_pages() directly in the function add_memory() because some other architecture related things need to be done before or after calling __add_pages(). So we should introduce a new function arch_remove_memory() to revert the things done in

[RFC PATCH V6 15/19] memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com For removing memmap region of sparse-vmemmap which is allocated bootmem, memmap region of sparse-vmemmap needs to be registered by get_page_bootmem(). So the patch searches pages of virtual mapping and registers the pages by

[RFC PATCH V6 16/19] memory-hotplug: free memmap of sparse-vmemmap

2012-08-03 Thread wency
From: Wen Congyang we...@cn.fujitsu.com All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other memory. So the patch checks whether page can be freed or not. How to check whether page can be freed or not?

[RFC PATCH V6 10/19] memory-hotplug: add memory_block_release

2012-08-03 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When calling remove_memory_block(), the function shows following message at device_release(). Device 'memory528' does not have a release() function, it is broken and must be fixed. remove_memory_block() calls kfree(mem). I think it shouled

Re: [PATCH V4 11/16] drm/radeon: Make radeon card usable for Loongson.

2012-08-03 Thread Michel Dänzer
On Fre, 2012-08-03 at 15:06 +0800, Huacai Chen wrote: 1, Handle io prot correctly for MIPS. 2, Define SAREA_MAX as the size of one page. 3, Include swiotlb.h if SWIOTLB configured. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by:

Re: [PATCH 4/9] KVM: define kvm_bad_pfn statically

2012-08-03 Thread Xiao Guangrong
Marcelo, Paul, Thanks for your review! On 08/03/2012 08:01 AM, Paul Mackerras wrote: On Thu, Aug 02, 2012 at 10:15:27AM -0300, Marcelo Tosatti wrote: Remind me what is the guarantee that -Exxx does not clash with a valid pfn number? A pfn number is an address PAGE_SHIFT, so it will have

[PATCH] rtc/at91sam9: use module_platform_driver macro

2012-08-03 Thread Devendra Naga
This driver does seems to do only platform_driver_register in the init function and platform_driver_unregister in the exit function, so replace all this code including the module_init and module_exit with module_platform_driver macro... Signed-off-by: Devendra Naga develkernel412...@gmail.com

Re: [alsa-devel] [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-03 Thread Lee Jones
On Thu, Aug 02, 2012 at 06:56:04PM +0100, Mark Brown wrote: On Thu, Aug 02, 2012 at 08:45:18AM +0100, Lee Jones wrote: Over time, the requests for Maintainers have Snowballed (pun intended). My task now seems to be enabling drivers for Device Tree _and_ fix all associated driver bugs,

Re: mellanox mlx4_core and SR-IOV

2012-08-03 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 04:36:14PM -0700, Yinghai Lu wrote: so it seems, that pic=nocsr is a must now. yes. Or you have bios provide SRIOV support or 64 bit resource in _CRS. Well, I can use PCI passthrough in Xen now, however, it seems SR-IOV does not work in case of Mellanox mlx4 driver.

Re: [RFC PATCH 06/13] driver core: firmware loader: always let firmware_buf own the pages buffer

2012-08-03 Thread Ming Lei
On Wed, Jul 25, 2012 at 10:37 PM, Borislav Petkov b...@amd64.org wrote: On Wed, Jul 25, 2012 at 01:00:06AM +0800, Ming Lei wrote: @@ -213,13 +291,8 @@ static ssize_t firmware_loading_show(struct device *dev, /* firmware holds the ownership of pages */ static void firmware_free_data(const

Re: [PATCH 1/1]hid:hid-multitouch: add mt_resume for ELAN's production

2012-08-03 Thread Jiri Kosina
On Fri, 3 Aug 2012, 劉嘉駿 wrote: Some of ELAN’s production need to issue set_idle when resume. Scott, your e-mail client broke the patch in a way that it's not only impossible to apply it using standard tools, but it's also unreadable by eyes (a lot of whitespaces, broken lines, every second

Re: [PATCH 3/3] Use get_online_cpus to avoid races involving for_each_online_cpu

2012-08-03 Thread Harald Welte
Hi Silas, thanks a lot for the finding and addressing the issue. On Thu, Aug 02, 2012 at 05:07:08PM -0700, Silas Boyd-Wickizer wrote: Signed-off-by: Silas Boyd-Wickizer s...@mit.edu Acked-by: Harald Welte lafo...@gnumonks.org -- - Harald Welte lafo...@gnumonks.org

Re: [PATCH] block: Don't use static to define void *p in show_partition_start().

2012-08-03 Thread Jens Axboe
On 08/03/2012 07:07 AM, majianpeng wrote: I met a odd prblem:read /proc/partitions may return zero. I wrote a file test.c: int main() { char buff[4096]; int ret; int fd; printf(pid=%d\n,getpid()); while (1) { fd = open(/proc/partitions,

Re: UBI fastmap updates

2012-08-03 Thread Artem Bityutskiy
On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: This is the next round of UBI fastmap updates. It fixes all issues pointed out by Shmulik. :-) If you want to test fastmap you can use my git repo: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubi2.git ubi2/v17 Richard, I've

Re: [PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Karsten Keil
Am 03.08.2012 09:32, schrieb Fengguang Wu: On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: From: Fengguang Wu fengguang...@intel.com Date: Thu, 2 Aug 2012 19:05:43 +0800 Fix a buffer overflow bug by removing the revision transform code. [ 22.016214] isdnloop-ISDN-driver Rev

Re: [PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread David Miller
From: Fengguang Wu fengguang...@intel.com Date: Fri, 3 Aug 2012 15:32:40 +0800 On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: From: Fengguang Wu fengguang...@intel.com Date: Thu, 2 Aug 2012 19:05:43 +0800 Fix a buffer overflow bug by removing the revision transform code.

Re: UBI fastmap updates

2012-08-03 Thread Richard Weinberger
Am Fri, 03 Aug 2012 11:47:17 +0300 schrieb Artem Bityutskiy artem.bityuts...@linux.intel.com: On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: This is the next round of UBI fastmap updates. It fixes all issues pointed out by Shmulik. :-) If you want to test fastmap you can

[PATCH 1/1]hid:hid-multitouch: add mt_resume for ELAN's production

2012-08-03 Thread 劉嘉駿
Some of ELAN’s production need to issue set_idle when resume. Signed-off-by: Scott Liu scott@emc.com.tw --- drivers/hid/hid-ids.h|3 +++ drivers/hid/hid-multitouch.c | 27 +++ 2 files changed, 30 insertions(+) mode change 100644 = 100755

Re: [ 33/73] x86, microcode: Sanitize per-cpu microcode reloading interface

2012-08-03 Thread Sven Joachim
On 2012-07-31 06:43 +0200, Ben Hutchings wrote: 3.2-stable review patch. If anyone has any objections, please let me know. Alas, this does not build if CONFIG_SMP is unset: , | arch/x86/kernel/microcode_core.c: In function 'reload_store': | arch/x86/kernel/microcode_core.c:304:19: error:

[GIT PULL] sound fixes for 3.6-rc2

2012-08-03 Thread Takashi Iwai
Linus, the following pull request was slipped from 3.6-rc1 (unexpectedly :), so I try to send a pull request now for rc2 so that the Oops fix can be merged as quickly as possible. Thanks! Takashi === The following changes since commit aff252a848ce21b431ba822de3dab9c4c94571cb: ALSA:

[PATCH v3] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Fengguang Wu
Fix a buffer overflow bug by removing the revision and printk. [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 [ 22.097508] isdnloop: (loop0) virtual card added [ 22.174400] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 83244972 [ 22.174400] [

Re: [PATCH] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 7:19 PM, Pandita, Vikram vikram.pand...@ti.com wrote: Kay On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram vikram.pand...@ti.com wrote: On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers k...@vrfy.org

[PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Vikram Pandita
From: Vikram Pandita vikram.pand...@ti.com Introduce config option to enable CPU id reporting for printk() calls. Example logs with this option enabled look like: [1] [2.328613] usbcore: registered new interface driver libusual [1] [2.335418] usbcore: registered new interface driver

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-03 Thread Eric Dumazet
On Fri, 2012-07-27 at 23:37 +0800, Cong Wang wrote: slave_enable_netpoll() and __netpoll_setup() may be called with read_lock() held, so should use GFP_ATOMIC to allocate memory. Cc: David S. Miller da...@davemloft.net Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Cong

Re: [alsa-devel] [PATCH V4 12/16] ALSA: HDA: Make hda sound card usable for Loongson.

2012-08-03 Thread Takashi Iwai
At Fri, 3 Aug 2012 15:06:07 +0800, Huacai Chen wrote: Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com

RE: [PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Vikram Pandita Sent: Friday, August 03, 2012 2:46 PM To: gre...@linuxfoundation.org; k...@vrfy.org Cc: linux-kernel@vger.kernel.org; Vikram Pandita; Mike Turquette;

Przepraszamy za wszelkie niedogodności spowodowane mam cię o wyrozumiałość

2012-08-03 Thread sedeflores
Ten komunikat jest z gospodarzem centrum wszystkich naszych właścicieli kont. Jesteśmy w trakcie modernizacji naszej bazy danych i e-mail centrum na ten rok 2012. Jesteśmy usunięcie wszystkich niewykorzystane konto aby utworzyć więcej miejsca dla nowych raz i aby zapobiec spamu. Tuż przed Ta

RE: [PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Venu Byravarasu Sent: Friday, August 03, 2012 2:58 PM To: Vikram Pandita; gre...@linuxfoundation.org; k...@vrfy.org Cc: linux-kernel@vger.kernel.org; Mike Turquette;

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-03 Thread Cong Wang
On Fri, 2012-08-03 at 11:17 +0200, Eric Dumazet wrote: On Fri, 2012-07-27 at 23:37 +0800, Cong Wang wrote: slave_enable_netpoll() and __netpoll_setup() may be called with read_lock() held, so should use GFP_ATOMIC to allocate memory. Cc: David S. Miller da...@davemloft.net

Re: [PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Venu On Fri, Aug 3, 2012 at 2:32 AM, Venu Byravarasu vbyravar...@nvidia.com wrote: -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Venu Byravarasu Sent: Friday, August 03, 2012 2:58 PM To: Vikram Pandita;

Re: uart_startup: GFP_KERNEL allocation with IRQs disabled

2012-08-03 Thread Jiri Slaby
On 08/03/2012 03:46 AM, Fengguang Wu wrote: Hi all, Hi, The IRQ should be disabled somewhere in the path walk, which makes the GFP_KERNEL allocation in uart_startup() no longer valid.. [0.499537] kworker/u:1 (29) used greatest stack depth: 7156 bytes left [0.500947] [

  1   2   3   4   5   6   7   8   9   10   >