Re: [PATCH 3/4 v2] gpio/mvebu: convert to use irq_domain_add_simple()

2012-12-11 Thread Linus Walleij
On Tue, Dec 11, 2012 at 4:20 PM, Thomas Petazzoni wrote: > Unfortunately, this creates the following warning at boot time for each > GPIO bank: Grant has a patch in his irqdomain tree that will turn this warning into a simple pr_info() thing instead. It's not that bad... The immediate problem

Re: [Devel] [PATCH 2/6] nfsd: swap fs root in NFSd kthreads

2012-12-11 Thread Stanislav Kinsbursky
11.12.2012 19:35, J. Bruce Fields пишет: On Tue, Dec 11, 2012 at 10:20:36AM -0500, J. Bruce Fields wrote: On Tue, Dec 11, 2012 at 07:07:00PM +0400, Stanislav Kinsbursky wrote: I don't really understand, how mountd's root can be wrong. I.e. its' always right as I see it. NFSd kthreads have to

Re: [PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability

2012-12-11 Thread Jassi Brar
On Fri, Nov 30, 2012 at 4:26 PM, Bartlomiej Zolnierkiewicz wrote: > Thank you for explaining it. Here is a patch implementing the idea: > > From: Bartlomiej Zolnierkiewicz > Subject: [PATCH] DMA: PL330: add peripherals map to the device tree > > Add device tree (DT) property ("peri-map") for

Re: performance drop after using blkcg

2012-12-11 Thread Zhao Shuai
2012/12/11 Vivek Goyal : > These results are with slice_idle=0? Yes, slice_idle is disabled. > What's the storage you are using. Looking at the speed of IO I would > guess it is not one of those rotational disks. I have done the same test on 3 different type of boxes,and all of them show a

RE: [PATCH] da8xx: Allow use by am33xx based devices

2012-12-11 Thread Manjunathappa, Prakash
Hi Vaibhav, On Mon, Dec 10, 2012 at 14:32:06, Hiremath, Vaibhav wrote: > > > On 12/6/2012 1:38 PM, Manjunathappa, Prakash wrote: > > Hi Tomi, > > > > On Wed, Oct 31, 2012 at 10:52:59, Manjunathappa, Prakash wrote: > >> Hi, > >> > >> On Wed, Oct 31, 2012 at 21:26:08, Pantelis Antoniou wrote: >

[GIT PULL] regmap updates for v3.8

2012-12-11 Thread Mark Brown
The following changes since commit 9489e9dcae718d5fde988e4a684a0f55b5f94d17: Linux 3.7-rc7 (2012-11-25 17:59:19 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-3.8 for you to fetch changes up to

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-11 Thread Yinghai Lu
On Tue, Dec 11, 2012 at 4:37 PM, H. Peter Anvin wrote: > On 12/11/2012 04:27 PM, Yinghai Lu wrote: >> On Tue, Dec 11, 2012 at 3:57 PM, H. Peter Anvin wrote: >>> Well, we could invoke it on the bootloader page tables, but as you say >>> it may not be a good idea... depending on how much memory we

Re: [PATCH 2/4] mfd: 88pm80x: move to regmap irq base implementation

2012-12-11 Thread Qing Xu
On 12/03/2012 01:40 PM, Qing Xu wrote: From: Qing Xu get irq_base for mfd sub-device Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |1 + include/linux/mfd/88pm80x.h |1 + 3 files changed, 3 insertions(+),

Re: [PATCH] vfio powerpc: implemented IOMMU driver for VFIO

2012-12-11 Thread Alexey Kardashevskiy
On 08/12/12 04:01, Alex Williamson wrote: + case VFIO_IOMMU_MAP_DMA: { + vfio_iommu_spapr_tce_dma_map param; + struct iommu_table *tbl = container->tbl; + enum dma_data_direction direction; + unsigned long locked, lock_limit; + +

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 04:27 PM, Yinghai Lu wrote: On Tue, Dec 11, 2012 at 3:57 PM, H. Peter Anvin wrote: Well, we could invoke it on the bootloader page tables, but as you say it may not be a good idea... depending on how much memory we may be talking about. One solution -- which I have to admit is

Re: [PATCH 1/5] staging: omap-thermal: fix error check in omap_thermal_expose_sensor() and in omap_thermal_register_cpu_cooling().

2012-12-11 Thread Eduardo Valentin
On 12-12-2012 02:24, Cyril Roelandt wrote: The omap_bandgap_get_sensor_data() function returns ERR_PTR(), so we need to use IS_ERR() rather than a NULL check. Signed-off-by: Cyril Roelandt Acked-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-thermal-common.c |4 ++-- 1

Re: [PATCH] mfd: 88pm80x: fix no interrupt mask reg

2012-12-11 Thread Qing Xu
On 12/03/2012 04:11 PM, Qing Xu wrote: From: Qing Xu 1.88pm80x do not have interrupt mask registers and we use interrupt enable register. So we need to set mask_invert flag. 2.add support for D0 version Signed-off-by: Xiaofan Tian Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c |4

Re: [PATCH 2/2] uio: do not expose inode to uio open/release hooks

2012-12-11 Thread Greg KH
On Wed, Dec 12, 2012 at 02:42:22AM +0100, Hans J. Koch wrote: > On Tue, Dec 11, 2012 at 03:20:32PM -0800, Greg KH wrote: > > On Wed, Dec 12, 2012 at 12:12:02AM +0100, Benedikt Spranger wrote: > > > The inode parameter is unused by in kernel users of UIO. > > > > Ok. > > > > > Also the inode

Re: [PATCH] 8250/16?50: Add support for Broadcom TruManage redirected serial port

2012-12-11 Thread gre...@linuxfoundation.org
On Wed, Dec 12, 2012 at 01:11:47AM +, Stephen Hurd wrote: > It appears that the modification to include/uapi/linux/serial_core.h is > excluded by the dontdiff filters. I've attached an updated patch including > it. Care to resend the whole thing, I need it with the signed-off-by: line.

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-11 Thread Robert Hancock
On 12/11/2012 02:37 PM, Alan Stern wrote: On Tue, 11 Dec 2012, prasannatsmkumar wrote: Hi All, I connected an Android phone using USB cable to my machine running Linux (Linux 3.0, 3.2, 3.5). Mounted the SD card in phone in system (phone is just a pass through I guess). When I choose "Safely

Re: [PATCH 1/2] uio: add warning to documentation

2012-12-11 Thread Greg KH
On Wed, Dec 12, 2012 at 02:56:47AM +0100, Hans J. Koch wrote: > On Tue, Dec 11, 2012 at 03:18:16PM -0800, Greg KH wrote: > > On Wed, Dec 12, 2012 at 12:12:01AM +0100, Benedikt Spranger wrote: > > > The documentation has no clear statement to the POSIX 1003.1 mmap() > > > feature, wich allows

Re: [PATCH 08/18] sched: consider runnable load average in move_tasks

2012-12-11 Thread Alex Shi
On 12/12/2012 12:41 PM, Preeti U Murthy wrote: > Hi Alex, > On 12/10/2012 01:52 PM, Alex Shi wrote: >> Except using runnable load average in background, move_tasks is also >> the key functions in load balance. We need consider the runnable load >> average in it in order to the apple to apple load

Re: [PATCH v2 2/4] mfd: 88pm80x: move to regmap irq base implementation

2012-12-11 Thread Qing Xu
On 12/03/2012 01:45 PM, Qing Xu wrote: From: Qing Xu get irq_base for mfd sub-device Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |1 + include/linux/mfd/88pm80x.h |1 + 3 files changed, 3 insertions(+),

Re: [PATCH 4/4] rtc: 88pm80x: update irq base

2012-12-11 Thread Qing Xu
On 12/03/2012 01:43 PM, Qing Xu wrote: From: Qing Xu irq base is stored in 88pm80x's drv data, we need to add irq base to get the correct irq num Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/rtc/rtc-88pm80x.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-)

Re: [PATCH 3/4] onkey: 88pm80x: update irq base

2012-12-11 Thread Qing Xu
On 12/03/2012 01:42 PM, Qing Xu wrote: From: Qing Xu irq base is stored in 88pm80x's drv data, we need to add irq base to get the correct irq num Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/input/misc/88pm80x_onkey.c |7 --- 1 files changed, 4 insertions(+), 3

Re: [PATCH 1/4] mfd: 88pm80x: fix regmap not init before used

2012-12-11 Thread Qing Xu
On 12/03/2012 01:38 PM, Qing Xu wrote: From: Qing Xu 1.put the pm800_page_init before 800_init, otherwise power and gpadc regmap handle are not inited before being used. 2.remove regmap exit, as it will be called in driver release 3.add lost "return 0" in probe() 4.update driver's name

Re: [PATCH 0/7] mfd: update on max8925 for DT support

2012-12-11 Thread Qing Xu
On 12/04/2012 03:11 PM, Haojian Zhuang wrote: On Thu, Nov 29, 2012 at 1:54 PM, Qing Xu wrote: On 11/23/2012 05:09 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu wrote: From: Qing Xu 1. add irqdomain for max8925, it is necessary for dt support 2. bug fix in max8925 mfd

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-12-11 Thread Alexey Kardashevskiy
On 08/12/12 04:38, Alex Williamson wrote: +static int __init tce_iommu_init(void) +{ + struct pci_dev *pdev = NULL; + struct iommu_table *tbl; + struct iommu_group *grp; + + /* Allocate and initialize IOMMU groups */ + for_each_pci_dev(pdev) { + tbl =

[PATCH v12 3/8] update kernel headers

2012-12-11 Thread Hu Tao
update kernel headers to add pv event macros. Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- linux-headers/asm-x86/kvm_para.h | 1 + linux-headers/linux/kvm_para.h | 6 ++ 2 files changed, 7 insertions(+) diff --git a/linux-headers/asm-x86/kvm_para.h

[PATCH v12 1/8] save/load cpu runstate

2012-12-11 Thread Hu Tao
Signed-off-by: Hu Tao --- migration.c | 6 +- monitor.c | 5 ++--- savevm.c| 1 + sysemu.h| 2 ++ vl.c| 34 ++ 5 files changed, 40 insertions(+), 8 deletions(-) diff --git a/migration.c b/migration.c index 73ce170..31fa300 100644 ---

[PATCH] kvm: notify host when the guest is panicked

2012-12-11 Thread Hu Tao
We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not do auto dump, the guest's user can do dump by hand

[PATCH v12 5/8] add a new qevent: QEVENT_GUEST_PANICKED

2012-12-11 Thread Hu Tao
This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang --- monitor.c | 1 + monitor.h | 1 + 2 files changed, 2 insertions(+) diff --git a/monitor.c b/monitor.c index 1226501..231785b 100644 --- a/monitor.c +++ b/monitor.c @@ -458,6 +458,7 @@ static const char

[PATCH v12 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED

2012-12-11 Thread Hu Tao
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- migration.c | 1 + qapi-schema.json | 6 +- qmp.c| 3 ++- vl.c | 11 ++- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git

[PATCH v12 0/8] pv event to notify host when the guest is panicked

2012-12-11 Thread Hu Tao
This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. changes from v11: - add a new patch 'save/load cpu runstate' - fix a bug of null-dereference when no -machine option is supplied -

[PATCH v12 7/8] allower the user to disable pv event support

2012-12-11 Thread Hu Tao
Signed-off-by: Wen Congyang Signed-off-by: Hu Tao --- hw/pc_piix.c| 8 +++- qemu-config.c | 4 qemu-options.hx | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 8380702..bf31b96 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c

[PATCH v12 6/8] introduce a new qom device to deal with panicked event

2012-12-11 Thread Hu Tao
If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's value. The possible actions are: 1. emit

[PATCH v12 8/8] pv event: add document to describe the usage

2012-12-11 Thread Hu Tao
Signed-off-by: Hu Tao --- docs/pv-event.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 docs/pv-event.txt diff --git a/docs/pv-event.txt b/docs/pv-event.txt new file mode 100644 index 000..ac9e7fa --- /dev/null +++ b/docs/pv-event.txt @@ -0,0 +1,17 @@ +KVM

[PATCH v12 2/8] start vm after resetting it

2012-12-11 Thread Hu Tao
From: Wen Congyang The guest should run after resetting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when resetting the guest, so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED

[PATCH] regulator: s5m8767: Fix probe failure due to stack corruption

2012-12-11 Thread Inderpal Singh
The function sec_reg_read invokes regmap_read which expects unsigned int * as the destination address. The existing driver is passing address of local variable "val" which is u8. This causes the stack corruption and following dump is observed during probe. Hence change "val" from u8 to unsigned

Re: [PATCH 0/2] kernel BUG at mm/huge_memory.c:212!

2012-12-11 Thread Bob Liu
On Mon, Dec 3, 2012 at 9:02 PM, Jiri Slaby wrote: > On 11/30/2012 04:03 PM, Kirill A. Shutemov wrote: >> From: "Kirill A. Shutemov" >> >> Hi Jiri, >> >> Sorry for late answer. It took time to reproduce and debug the issue. >> >> Could you test two patches below by thread. I expect it to fix both

Re: [RFC PATCH 0/8] remove vm_struct list management

2012-12-11 Thread Atsushi Kumagai
Hello, On Tue, 11 Dec 2012 17:17:05 -0500 (EST) Dave Anderson wrote: > > > - Original Message - > > On Mon, Dec 10, 2012 at 11:40:47PM +0900, JoonSoo Kim wrote: > > > > [..] > > > > So without knowing details of both the data structures, I think if > > > > vmlist > > > > is going

[PATCH] NTP: Add a CONFIG_RTC_SYSTOHC configuration

2012-12-11 Thread Jason Gunthorpe
The purpose of this option is to allow ARM/etc systems that rely on the class RTC subsystem to have the same kind of automatic NTP based synchronization that we have on PC platforms. Today ARM does not implement update_persistent_clock and makes extensive use of the class RTC system. When enabled

Re: [PATCH 07/18] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2012-12-11 Thread Alex Shi
On 12/12/2012 11:57 AM, Preeti U Murthy wrote: > Hi Alex, > On 12/10/2012 01:52 PM, Alex Shi wrote: >> They are the base values in load balance, update them with rq runnable >> load average, then the load balance will consider runnable load avg >> naturally. >> >> Signed-off-by: Alex Shi >> ---

Re: [PATCH 1/2] uio: add warning to documentation

2012-12-11 Thread Greg KH
On Wed, Dec 12, 2012 at 01:45:34AM +0100, Benedikt Spranger wrote: > On Tue, 11 Dec 2012 15:18:16 -0800 > Greg KH wrote: > > > > -open(), you will probably also want a custom > > > +release(), you will probably also want a > > > custom release() function. > > That sentance no longer makes

Re: [PATCH 2/5] media: davinci: fix return value check in vpbe_display_reqbufs().

2012-12-11 Thread Prabhakar Lad
Hi Cyril, On Wed, Dec 12, 2012 at 5:54 AM, Cyril Roelandt wrote: > vb2_dma_contig_init_ctx() returns ERR_PTR and never returns NULL, so IS_ERR > should be used instead of a NULL check. > patch fixing this issue has been already posted with a better fix https://patchwork.kernel.org/patch/1830231/

RE: [PATCH] sched/rt: don't enable runtime if already enabled

2012-12-11 Thread Neil Zhang
Ingo and All, -Original Message- From: Neil Zhang Sent: 2012年12月4日 17:31 To: Neil Zhang; pet...@infradead.org; mi...@kernel.org Cc: Chao Xie; linux-kernel@vger.kernel.org Subject: RE: [PATCH] sched/rt: don't enable runtime if already enabled Hi All, -Original Message- From:

RE: [PATCH] 8250/16?50: Add support for Broadcom TruManage redirected serial port

2012-12-11 Thread Stephen Hurd
From: Stephen Hurd Add support for the UART device present in Broadcom TruManage capable NetXtreme chips (ie: 5761m 5762, and 5725). This implementation has a hidden transmit FIFO, so running in single-byte interrupt mode results in too many interrupts. The UART_CAP_HFIFO capability was

Re: [PATCH 01/18] sched: select_task_rq_fair clean up

2012-12-11 Thread Preeti U Murthy
On 12/11/2012 05:23 PM, Alex Shi wrote: > On 12/11/2012 02:30 PM, Preeti U Murthy wrote: >> On 12/11/2012 10:58 AM, Alex Shi wrote: >>> On 12/11/2012 12:23 PM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > It is impossible to miss a task allowed cpu

Re: [PATCH 4/5] net: sfc: fix return value check in efx_ptp_probe_channel().

2012-12-11 Thread David Miller
From: Cyril Roelandt Date: Wed, 12 Dec 2012 01:24:53 +0100 > The ptp_clock_register() returns ERR_PTR() and never returns NULL. Replace the > NULL check by a call to IS_ERR(). > > Signed-off-by: Cyril Roelandt I'll let Ben queue this up. Probably he'll want to avoid potentially leaving an

[GIT PULL] thermal management updates for v3.8-rc1

2012-12-11 Thread Zhang Rui
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git release to receive thermal management updates for v3.8. Highlights: * Introduction of thermal policy support, together with three new thermal governors, including step_wise,

[PATCH] serial:ifx6x60:Keep word size accordance with SPI controller

2012-12-11 Thread chao bi
As protocol driver, IFX SPI driver initiate to setup SPI master with default SPI word size as 16 bit/word, however, SPI master may not adopt this default value due to SPI controller's capability, it might choose an available value by itself and set it to spi_device.bits_per_word. In order to keep

Re: [PATCH 08/18] sched: consider runnable load average in move_tasks

2012-12-11 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > Except using runnable load average in background, move_tasks is also > the key functions in load balance. We need consider the runnable load > average in it in order to the apple to apple load comparison. > > Signed-off-by: Alex Shi > --- >

Re: [PATCH v2 01/10] kvm: Restrict non-existing slot state transitions

2012-12-11 Thread Alex Williamson
On Tue, 2012-12-11 at 23:39 -0200, Marcelo Tosatti wrote: > On Tue, Dec 11, 2012 at 11:29:09PM -0200, Marcelo Tosatti wrote: > > On Mon, Dec 10, 2012 at 10:32:45AM -0700, Alex Williamson wrote: > > > The API documentation states: > > > > > > When changing an existing slot, it may be moved in

Re: [PATCH v2 01/10] kvm: Restrict non-existing slot state transitions

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 10:32:45AM -0700, Alex Williamson wrote: > The API documentation states: > > When changing an existing slot, it may be moved in the guest > physical memory space, or its flags may be modified. > > An "existing slot" requires a non-zero npages (memory_size).

Re: [PATCH v2 5/5] KVM: x86: improve reexecute_instruction

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 05:14:47PM +0800, Xiao Guangrong wrote: > The current reexecute_instruction can not well detect the failed instruction > emulation. It allows guest to retry all the instructions except it accesses > on error pfn > > For example, some cases are nested-write-protect - if the

Re: [PATCH v2 0/5] KVM: x86: improve reexecute_instruction

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 05:11:35PM +0800, Xiao Guangrong wrote: > Changelog: > There are some changes from Marcelo and Gleb's review, thank you all! > - access indirect_shadow_pages in the protection of mmu-lock > - fix the issue when unhandleable instruction access on large page > - add a new

Re: [PATCH v2 1/5] KVM: MMU: move adjusting pte access for softmmu to FNAME(page_fault)

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 05:12:20PM +0800, Xiao Guangrong wrote: > Then, no mmu specified code exists in the common function and drop two > parameters in set_spte > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c | 47 --- >

Re: [PATCH v2 01/10] kvm: Restrict non-existing slot state transitions

2012-12-11 Thread Marcelo Tosatti
On Tue, Dec 11, 2012 at 11:29:09PM -0200, Marcelo Tosatti wrote: > On Mon, Dec 10, 2012 at 10:32:45AM -0700, Alex Williamson wrote: > > The API documentation states: > > > > When changing an existing slot, it may be moved in the guest > > physical memory space, or its flags may be

Re: [PATCH V4 2/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Andi Kleen
> if (PageHWPoison(hpage)) { > pr_info("soft offline: %#lx hugepage already poisoned\n", pfn); > - return -EBUSY; > + ret = -EBUSY; > + goto out; Doesn't look like a code improvement to me. Single return is easier and simpler. -Andi >

Re: Read starvation by sync writes

2012-12-11 Thread Dave Chinner
On Wed, Dec 12, 2012 at 03:31:37AM +0100, Jan Kara wrote: > On Tue 11-12-12 16:44:15, Jeff Moyer wrote: > > Jan Kara writes: > > > > > Hi, > > > > > > I was looking into IO starvation problems where streaming sync writes > > > (in > > > my case from kjournald but DIO would look the same)

Re: [PATCH v2 00/10] kvm: memory slot cleanups, fix, and increase

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 10:32:39AM -0700, Alex Williamson wrote: > v2: Update 02/10 to not check userspace_addr when slot is removed. > Yoshikawa-san withdrew objection to increase slot_bitmap prior > to his series to remove slot_bitmap. > > This series does away with any kind of

Re: [RFC PATCH] ARM: EXYNOS5: Support Exynos5-bus devfreq driver

2012-12-11 Thread Abhilash Kesavan
On Tue, Dec 11, 2012 at 5:29 AM, Jonghwan Choi wrote: > Hi Abhilash Kesavan. Hi Mr Choi, Thanks for your comments. > > >> + /* Change Divider - LEX */ >> + tmp = __raw_readl(EXYNOS5_CLKDIV_LEX); >> + >> + tmp &= ~(EXYNOS5_CLKDIV_LEX_ATCLK_LEX_MASK | >> +

Re: [PATCH v2 2/5] KVM: MMU: adjust page size early if gfn used as page table

2012-12-11 Thread Marcelo Tosatti
On Mon, Dec 10, 2012 at 05:13:03PM +0800, Xiao Guangrong wrote: > We have two issues in current code: > - if target gfn is used as its page table, guest will refault then kvm will > use > small page size to map it. We need two #PF to fix its shadow page table > > - sometimes, say a exception

[GIT PULL v2] VFIO updates for v3.8

2012-12-11 Thread Alex Williamson
Hi Linus, Take 2 using the same commits as in Stephen's next tree, please note the new tag below. There's a merge with v3.7 in my for-linus branch of the below tree, not that you should need it. Thanks, Alex The following changes since commit 1afa471706963643ceeda7cbbe9c605a1e883d53: Merge

Re: [PATCH 07/18] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2012-12-11 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > They are the base values in load balance, update them with rq runnable > load average, then the load balance will consider runnable load avg > naturally. > > Signed-off-by: Alex Shi > --- > kernel/sched/core.c |4 ++-- > kernel/sched/fair.c

[PATCH V4 1/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
Move poisoned page check at the beginning of the function in order to fix the error. Signed-off-by: Xishi Qiu Signed-off-by: Jiang Liu --- mm/memory-failure.c | 38 +- 1 files changed, 17 insertions(+), 21 deletions(-) diff --git a/mm/memory-failure.c

[PATCH V4 3/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
Since MCE is an x86 concept, and this code is in mm/, it would be better to use the name num_poisoned_pages instead of mce_bad_pages. Signed-off-by: Xishi Qiu Signed-off-by: Jiang Liu Signed-off-by: Borislav Petkov --- fs/proc/meminfo.c |2 +- include/linux/mm.h |2 +-

[PATCH V4 2/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
There are too many return points randomly intermingled with some "goto done" return points. So adjust the function structure, one for the success path, the other for the failure path. Use atomic_long_inc instead of atomic_long_add. Signed-off-by: Xishi Qiu Signed-off-by: Jiang Liu ---

[PATCH V4 0/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
When we use "/sys/devices/system/memory/soft_offline_page" to offline a *free* page, the value of mce_bad_pages will be added, and the page is set HWPoison flag, but it is still managed by page buddy alocator. $ cat /proc/meminfo | grep HardwareCorrupted shows the value. If we offline the same

Re: [PATCH net-next rfc 2/2] tuntap: allow unpriveledge user to enable and disable queues

2012-12-11 Thread Jason Wang
On 12/11/2012 08:30 PM, Michael S. Tsirkin wrote: > On Tue, Dec 11, 2012 at 07:03:47PM +0800, Jason Wang wrote: >> Currently, when a file is attached to tuntap through TUNSETQUEUE, the uid/gid >> and CAP_NET_ADMIN were checked, and we use this ioctl to create and destroy >> queues. Sometimes,

Re: [PATCH net-next rfc 0/2] Allow unpriveledge user to disable tuntap queue

2012-12-11 Thread Jason Wang
On 12/11/2012 08:46 PM, Michael S. Tsirkin wrote: > On Tue, Dec 11, 2012 at 07:03:45PM +0800, Jason Wang wrote: >> This series is an rfc that tries to solve the issue that the queues of tuntap >> could not be disabled/enabled by unpriveledged user. This is needed for >> unpriveledge userspace such

[PATCH] serial:ifx6x60:Delete SPI timer when shut down port

2012-12-11 Thread chao bi
When shut down SPI port, it's possible that MRDY has been asserted and a SPI timer was activated waiting for SRDY assert, in the case, it needs to delete this timer. Signed-off-by: Chen Jun Signed-off-by: channing --- drivers/tty/serial/ifx6x60.c |1 + 1 files changed, 1 insertions(+), 0

Re: [RFC PATCH 3/3] dt: Document: Add optional MAX77686 operating mode bindings

2012-12-11 Thread Mark Brown
On Mon, Dec 10, 2012 at 10:30:42AM -0800, Doug Anderson wrote: > The max77686 appears to support NORMAL and IDLE mode for most LDOs, so > the only reasonable values for these two would be 2 and 4. It appears > that it would also be nonsensical (impossible to map to a register > value) to have

Re: [RFC PATCH 2/3] regulator: max77686: Add support for various operating modes

2012-12-11 Thread Abhilash Kesavan
On Tue, Dec 11, 2012 at 6:27 PM, Mark Brown wrote: > On Mon, Dec 10, 2012 at 02:06:49PM +0530, Abhilash Kesavan wrote: >> On Mon, Dec 10, 2012 at 1:49 PM, Abhilash Kesavan >> wrote: > >> > Mark Brown opensource.wolfsonmicro.com> writes: > >> >> Binding documenation is mandatory for any new OF

Re: Read starvation by sync writes

2012-12-11 Thread Shaohua Li
2012/12/11 Jan Kara : > Hi, > > I was looking into IO starvation problems where streaming sync writes (in > my case from kjournald but DIO would look the same) starve reads. This is > because reads happen in small chunks and until a request completes we don't > start reading further (reader

WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-11 Thread Dave Jones
Fuzz-testing fallout from post 3.7 tree as of commit 414a6750e59b0b687034764c464e9ddecac0f7a6 [ 2181.230579] [ cut here ] [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0() [ 2181.232358] Hardware name: GA-MA78GM-S2H [ 2181.232925] tty

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-11 Thread Viresh Kumar
Sorry for replying late, was too busy with other work yesterday. On 11 December 2012 03:38, Arnd Bergmann wrote: > I'm deeply sorry for the very late complaint on this, but I only now Better late than never :) > noticed this patch as I was seeing build breakage in linux-next > because of it.

Re: [GIT PULL] VFIO updates for v3.8

2012-12-11 Thread Alex Williamson
Hi Stephen, On Wed, 2012-12-12 at 11:44 +1100, Stephen Rothwell wrote: > Hi Alex, > > On Tue, 11 Dec 2012 17:06:56 -0700 Alex Williamson > wrote: > > > > Is that a bad thing? I can start tagging from my next branch if that's > > preferred. Thanks, > > Linus has said many times to not rebase

Re: "attempt to access beyond end of device" on DVD

2012-12-11 Thread Jacek Poplawski
OK, I was wrong previously. I don't need to reload sr_mod, I only need to remount DVD. The reason I was wrong is I was suspecting that DVD remounts itself after eject, but looks like it doesn't. Also it means that the problem is different than 3 years ago, because I am sure I was remounting DVD

Re: [RFC PATCH] sched: rt: fix selecting runqueue for task to be pushed

2012-12-11 Thread Steven Rostedt
On Tue, 2012-12-11 at 20:54 -0500, Steven Rostedt wrote: > I'm actually thinking that that test should always fail. The > cpupri_find() does a scan of all priorities up to but not including the > current task's priority. If cpupri_find() finds a mask, it means that it > found CPUs that are

Re: livelock in __writeback_inodes_wb ?

2012-12-11 Thread Simon Jeons
On Tue, 2012-12-11 at 09:29 -0500, Dave Jones wrote: > On Tue, Dec 11, 2012 at 04:23:27PM +0800, Fengguang Wu wrote: > > On Wed, Nov 28, 2012 at 09:55:15AM -0500, Dave Jones wrote: > > > We had a user report the soft lockup detector kicked after 22 > > > seconds of no progress, with this

Re: Read starvation by sync writes

2012-12-11 Thread Jan Kara
On Tue 11-12-12 16:44:15, Jeff Moyer wrote: > Jan Kara writes: > > > Hi, > > > > I was looking into IO starvation problems where streaming sync writes (in > > my case from kjournald but DIO would look the same) starve reads. This is > > because reads happen in small chunks and until a

Re: [GIT PULL] x86/ras changes for v3.8

2012-12-11 Thread Linus Torvalds
On Tue, Dec 11, 2012 at 3:13 AM, Ingo Molnar wrote: > Linus, > > Please pull the latest x86-ras-for-linus git tree from: This is missing the diffstat. Wazzup? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC] AES instead of SHA1 for /dev/urandom

2012-12-11 Thread NeilBrown
On Wed, 12 Dec 2012 03:03:54 +0100 Ondřej Bílka wrote: > I consider to speed-up /dev/urandom on recent intel processors by > using hardware aes. Same for accelerated aes crypto. > > Would you accept a patch if I wrote it? Have you read https://lwn.net/Articles/525459 ? In particular the

[PATCH] ARM: decompressor: Flush tlb before swiching domain 0 to client mode

2012-12-11 Thread Arve Hjønnevåg
If the bootloader used a page table that is incompatible with domain 0 in client mode, then swithing domain 0 to client mode causes a fault if we don't flush the tlb after updating the page table pointer. Signed-off-by: Arve Hjønnevåg --- arch/arm/boot/compressed/head.S |1 + 1 files

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-11 Thread Simon Jeons
On Wed, 2012-12-12 at 09:57 +0800, Jianguo Wu wrote: > On 2012/12/11 21:20, Simon Jeons wrote: > > > On Tue, 2012-12-11 at 20:41 +0800, Jianguo Wu wrote: > >> On 2012/12/11 20:24, Simon Jeons wrote: > >> > >>> On Tue, 2012-12-11 at 11:07 +0800, Jianguo Wu wrote: > On 2012/12/11 10:33, Tang

[PATCH] ARM: mm: Split memory banks that span multiple sections when sparsemem is enabled

2012-12-11 Thread Arve Hjønnevåg
This fixes a crash in mem_init which assumes all pages in a memory bank are part of the same page array. Signed-off-by: Arve Hjønnevåg --- arch/arm/mm/mmu.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index

Re: "attempt to access beyond end of device" on DVD

2012-12-11 Thread Jacek Poplawski
> Did you check if unbinding drivers or unloading their modules has the > same effect as rebooting? That might help narrowing the area of code to > look at. You were right. I unmounted the DVD, then removed module sr_mod, reloaded it, inserted DVD again and copied missing files, now they are OK.

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-11 Thread Lin Feng
On 12/11/2012 09:20 PM, Simon Jeons wrote: > On Tue, 2012-12-11 at 20:41 +0800, Jianguo Wu wrote: >> On 2012/12/11 20:24, Simon Jeons wrote: >> >>> On Tue, 2012-12-11 at 11:07 +0800, Jianguo Wu wrote: On 2012/12/11 10:33, Tang Chen wrote: > This patch introduces a new array

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-11 Thread Jianguo Wu
On 2012/12/11 21:20, Simon Jeons wrote: > On Tue, 2012-12-11 at 20:41 +0800, Jianguo Wu wrote: >> On 2012/12/11 20:24, Simon Jeons wrote: >> >>> On Tue, 2012-12-11 at 11:07 +0800, Jianguo Wu wrote: On 2012/12/11 10:33, Tang Chen wrote: > This patch introduces a new array

Re: [PATCH 1/2] uio: add warning to documentation

2012-12-11 Thread Hans J. Koch
On Tue, Dec 11, 2012 at 03:18:16PM -0800, Greg KH wrote: > On Wed, Dec 12, 2012 at 12:12:01AM +0100, Benedikt Spranger wrote: > > The documentation has no clear statement to the POSIX 1003.1 mmap() > > feature, wich allows open(), mmap(), close() while the mmaped pointer is > > valid. > > The

Re: [RFC PATCH] sched: rt: fix selecting runqueue for task to be pushed

2012-12-11 Thread Steven Rostedt
On Tue, 2012-12-11 at 20:10 +0800, Hillf Danton wrote: > On Mon, Dec 10, 2012 at 10:21 PM, Steven Rostedt wrote: > > On Mon, 2012-12-10 at 20:19 +0800, Hillf Danton wrote: > >> When we are trying to push task out, no point to select the last cpu that > >> the given task executed on, which is

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Andy Lutomirski
[cc: Jeremy Fitzhardinge -- you wrote some of this] On Tue, Dec 11, 2012 at 12:40 PM, Stefani Seibold wrote: > Am Dienstag, den 11.12.2012, 11:37 -0800 schrieb Andy Lutomirski: >> On Tue, Dec 11, 2012 at 8:11 AM, wrote: >> > --- a/arch/x86/vdso/vclock_gettime.c >> > +++

[PATCH] pstore/ram: Fix bounds checks for mem_size, record_size, console_size and ftrace_size

2012-12-11 Thread Arve Hjønnevåg
The bounds check in ramoops_init_prz was incorrect and ramoops_init_przs had no check. Additionally, ramoops_init_przs allows record_size to be 0, but ramoops_pstore_write_buf would always crash in this case. Signed-off-by: Arve Hjønnevåg --- fs/pstore/ram.c | 18 -- 1 files

Re: 3.7.0-rc8 btrfs locking issue

2012-12-11 Thread Liu Bo
On Wed, Dec 12, 2012 at 09:37:37AM +0800, Liu Bo wrote: > On Tue, Dec 11, 2012 at 09:33:15AM -0700, Jim Schutt wrote: > > On 12/09/2012 07:04 AM, Liu Bo wrote: > > > On Wed, Dec 05, 2012 at 09:07:05AM -0700, Jim Schutt wrote: > > > Hi Jim, > > > > > > Could you please apply the following patch to

Re: [PATCH 2/2] uio: do not expose inode to uio open/release hooks

2012-12-11 Thread Hans J. Koch
On Tue, Dec 11, 2012 at 03:20:32PM -0800, Greg KH wrote: > On Wed, Dec 12, 2012 at 12:12:02AM +0100, Benedikt Spranger wrote: > > The inode parameter is unused by in kernel users of UIO. > > Ok. > > > Also the inode parameter makes it hard to resolve the existing open(), > > mmap() and close()

Re: 3.7.0-rc8 btrfs locking issue

2012-12-11 Thread Liu Bo
On Tue, Dec 11, 2012 at 09:33:15AM -0700, Jim Schutt wrote: > On 12/09/2012 07:04 AM, Liu Bo wrote: > > On Wed, Dec 05, 2012 at 09:07:05AM -0700, Jim Schutt wrote: > > Hi Jim, > > > > Could you please apply the following patch to test if it works? > > Hi, > > So far, with your patch applied

Re: [PATCH v3 4/5][RESEND] page_alloc: Make movablecore_map has higher priority

2012-12-11 Thread Simon Jeons
On Tue, 2012-12-11 at 12:56 +0800, Tang Chen wrote: > If kernelcore or movablecore is specified at the same time > with movablecore_map, movablecore_map will have higher > priority to be satisfied. > This patch will make find_zone_movable_pfns_for_nodes() > calculate zone_movable_pfn[] with the

Re: [PATCH 5/5] spi: fix return value check in hspi_probe().

2012-12-11 Thread Kuninori Morimoto
Hi > According to its documentation, clk_get() returns a "valid IS_ERR() condition > containing errno", so we should call IS_ERR() rather than a NULL check. > > Signed-off-by: Cyril Roelandt Acked-by: Kuninori Morimoto > --- > drivers/spi/spi-sh-hspi.c |2 +- > 1 file changed, 1

Re: [PATCH 01/01] Input multitouch: fix horizontal two-finger-scrolling on Sentelic touchpads

2012-12-11 Thread Christophe TORDEUX
I am very sorry I forgot to mention that my patch was done against kernel version 3.7-rc8. I can re-send the original patch with this information included if required, just ask me. signature.asc Description: Digital signature

[PATCH RFC/RFT] regulator: core: Fix continuous_voltage_range case in regulator_can_change_voltage

2012-12-11 Thread Axel Lin
Regulator drivers with continuous_voltage_range flag set allows not setting n_voltages. Thus if continuous_voltage_range is set, check the constraint range instead. Signed-off-by: Axel Lin --- drivers/regulator/core.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff

[PATCH 01/01] Input multitouch: fix horizontal two-finger-scrolling on Sentelic touchpads

2012-12-11 Thread Christophe TORDEUX
From: Christophe TORDEUX Fix horizontal two-finger scrolling on Sentelic touchpads. Currently horizontal two-fingers scrolling does not work with these touchpads. The patch also makes vertical two-finger scrolling smoother in some applications e.g. Firefox. Signed-off-by: Christophe TORDEUX

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-11 Thread Alex Shi
On 12/12/2012 12:13 AM, Borislav Petkov wrote: > On Tue, Dec 11, 2012 at 08:03:01AM -0800, Arjan van de Ven wrote: >> On 12/11/2012 7:48 AM, Borislav Petkov wrote: >>> On Tue, Dec 11, 2012 at 08:10:20PM +0800, Alex Shi wrote: Another testing of parallel compress with pigz on Linus' git tree.

[RFC] AES instead of SHA1 for /dev/urandom

2012-12-11 Thread Ondřej Bílka
I consider to speed-up /dev/urandom on recent intel processors by using hardware aes. Same for accelerated aes crypto. Would you accept a patch if I wrote it? -- 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] 8250/16?50: Add support for Broadcom TruManage redirected serial port

2012-12-11 Thread Stephen Hurd
It appears that the modification to include/uapi/linux/serial_core.h is excluded by the dontdiff filters. I've attached an updated patch including it. Stephen Hurd Senior Staff Engineer - Software Development Broadcom Corporation 949-926-8039 sh...@broadcom.com brcm-trumanage-uart.patch

  1   2   3   4   5   6   7   8   9   10   >