Re: [PATCH 06/11] bdi: add a new writeback list for sync

2013-08-01 Thread Dave Chinner
On Wed, Jul 31, 2013 at 05:11:14PM +0200, Jan Kara wrote: On Wed 31-07-13 14:15:45, Dave Chinner wrote: /* + * mark an inode as under writeback on the given bdi + */ +void bdi_mark_inode_writeback(struct backing_dev_info *bdi, struct inode *inode) +{ + WARN_ON_ONCE(bdi !=

Re: [PATCH 8/8] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

2013-08-01 Thread Aneesh Kumar K.V
Naoya Horiguchi n-horigu...@ah.jp.nec.com writes: On Wed, Jul 31, 2013 at 12:02:30AM +0530, Aneesh Kumar K.V wrote: Naoya Horiguchi n-horigu...@ah.jp.nec.com writes: Now hugepages are definitely movable. So allocating hugepages from ZONE_MOVABLE is natural and we have no reason to keep

Re: [PATCH 01/18] mm, hugetlb: protect reserved pages when softofflining requests the pages

2013-08-01 Thread Joonsoo Kim
On Wed, Jul 31, 2013 at 11:25:04PM +0800, Hillf Danton wrote: On Wed, Jul 31, 2013 at 2:37 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Wed, Jul 31, 2013 at 02:21:38PM +0800, Hillf Danton wrote: On Wed, Jul 31, 2013 at 12:41 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Wed, Jul

[PATCH] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-01 Thread Naveen Krishna Chatradhi
This patch adds code to handle the misplaced TRIMINFO register incase of Exynos5420. On Exynos5420 we have a TRIMINFO register being misplaced for TMU channels 2, 3 and 4 TRIMINFO at 0x1006c000 contains data for TMU channel 3 TRIMINFO at 0x100a contains data for TMU channel 4 TRIMINFO at

Re: [PATCH 4/9] dma: edma: Find missed events and issue them

2013-08-01 Thread Sekhar Nori
On Thursday 01 August 2013 07:57 AM, Joel Fernandes wrote: On 07/31/2013 04:18 AM, Sekhar Nori wrote: On Wednesday 31 July 2013 10:19 AM, Joel Fernandes wrote: Hi Sekhar, On 07/30/2013 02:05 AM, Sekhar Nori wrote: On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: In an effort to move

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-01 Thread Minchan Kim
On Thu, Aug 01, 2013 at 09:53:03AM +0400, Cyrill Gorcunov wrote: On Thu, Aug 01, 2013 at 09:51:32AM +0900, Minchan Kim wrote: Index: linux-2.6.git/include/linux/swapops.h === --- linux-2.6.git.orig/include/linux/swapops.h

Re: [PATCH 07/11] writeback: periodically trim the writeback list

2013-08-01 Thread Dave Chinner
On Wed, Jul 31, 2013 at 05:15:42PM +0200, Jan Kara wrote: On Wed 31-07-13 14:15:46, Dave Chinner wrote: From: Dave Chinner dchin...@redhat.com Inodes are removed lazily from the bdi writeback list, so in the absence of sync(2) work inodes will build up on the bdi writback list even

Re: [PATCH 00/11] Sync and VFS scalability improvements

2013-08-01 Thread Dave Chinner
On Wed, Jul 31, 2013 at 08:48:40AM +0200, Sedat Dilek wrote: On Wed, Jul 31, 2013 at 6:15 AM, Dave Chinner da...@fromorbit.com wrote: Hi folks, This series of patches is against the curent mmotm tree here: http://git.cmpxchg.org/cgit/linux-mmotm.git/ Current is not precise

Re: /sys/module/pcie_aspm/parameters/policy not writable?

2013-08-01 Thread Jeff Kirsher
On Wed, 2013-07-10 at 13:57 -0600, Bjorn Helgaas wrote: [+cc Jeff, Jesse, et al, e1000-devel] Holy cow, you guys have a lot of folks listed in MAINTAINERS for Intel drivers :) This is an ASPM question, if that helps narrow down the folks interested. Bruce Allan is the e1000e maintainer, I

Re: [PATCH 2/3] xfs: Implement FALLOC_FL_COLLAPSE_RANGE

2013-08-01 Thread Namjae Jeon
2013/8/1, Ben Myers b...@sgi.com: Hey Namjae, On Wed, Jul 31, 2013 at 11:42:14PM +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com New fallocate flag FALLOC_FL_COLLAPSE_RANGE implementation for XFS. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish

Re: [PATCH 3/3] ext4: Implement FALLOC_FL_COLLAPSE_RANGE

2013-08-01 Thread Namjae Jeon
2013/8/1, Dave Chinner da...@fromorbit.com: On Wed, Jul 31, 2013 at 11:42:26PM +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com New fallocate flag FALLOC_FL_COLLAPSE_RANGE implementation for Ext4 . + +punch_start = offset EXT4_BLOCK_SIZE_BITS(sb); +

[PATCH,RFC] numa,sched: use group fault statistics in numa placement

2013-08-01 Thread Rik van Riel
Subject: [PATCH,RFC] numa,sched: use group fault statistics in numa placement Here is a quick strawman on how the group fault stuff could be used to help pick the best node for a task. This is likely to be quite suboptimal and in need of tweaking. My main goal is to get this to Peter Mel before

[PATCH] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-08-01 Thread Boris BREZILLON
The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This configuration was formely done in mach-at91/clock.c, but this implementation will be removed

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-01 Thread Cyrill Gorcunov
On Thu, Aug 01, 2013 at 03:16:32PM +0900, Minchan Kim wrote: I don't get it. Could you correct me with below example? Process A context try_to_unmap swp_pte = swp_entry_to_pte /* change generic swp into arch swap */ swp_pte =

Re: [PATCH 4/9] syslog_ns: make syslog handling per namespace

2013-08-01 Thread Rui Xiang
On 2013/8/1 13:38, Gao feng wrote: On 08/01/2013 11:10 AM, Rui Xiang wrote: On 2013/8/1 9:36, Gao feng wrote: On 07/29/2013 10:31 AM, Rui Xiang wrote: This patch makes syslog buf and other fields per namespace. Here use ns-log_buf(log_buf_len, logbuf_lock, log_first_seq, logbuf_lock, and

Re: [PATCH 00/11] Sync and VFS scalability improvements

2013-08-01 Thread Sedat Dilek
On Thu, Aug 1, 2013 at 8:19 AM, Dave Chinner da...@fromorbit.com wrote: On Wed, Jul 31, 2013 at 08:48:40AM +0200, Sedat Dilek wrote: On Wed, Jul 31, 2013 at 6:15 AM, Dave Chinner da...@fromorbit.com wrote: Hi folks, This series of patches is against the curent mmotm tree here:

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-08-01 Thread Takao Indoh
(2013/08/01 6:23), Rafael J. Wysocki wrote: On Wednesday, July 31, 2013 03:08:03 PM Bjorn Helgaas wrote: [+cc Rafael, linux-acpi] On Tue, Jul 30, 2013 at 6:35 PM, Takao Indoh indou.ta...@jp.fujitsu.com wrote: On x86, currently IOMMU initialization run *after* PCI enumeration, but what you

Re: [PATCH 3/3] xen-blkfront: revoke foreign access for grants not mapped by the backend

2013-08-01 Thread Matt Wilson
On Wed, Jul 31, 2013 at 05:00:44PM +0200, Roger Pau Monne wrote: There's no need to keep the foreign access in a grant if it is not persistently mapped by the backend. This allows us to free grants that are not mapped by the backend, thus preventing blkfront from hoarding all grants. The

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-01 Thread Minchan Kim
On Thu, Aug 01, 2013 at 10:28:14AM +0400, Cyrill Gorcunov wrote: On Thu, Aug 01, 2013 at 03:16:32PM +0900, Minchan Kim wrote: I don't get it. Could you correct me with below example? Process A context try_to_unmap swp_pte = swp_entry_to_pte /* change generic

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-01 Thread Cyrill Gorcunov
On Thu, Aug 01, 2013 at 03:37:06PM +0900, Minchan Kim wrote: Reviewed-by: Minchan Kim minc...@kernel.org Thanks a lot for review, Minchan! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-08-01 Thread Boris BREZILLON
The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This configuration was formely done in mach-at91/clock.c, but this implementation will be removed

[PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-01 Thread Boris BREZILLON
This patch moves peripheral id definitions from machine specific include dir (arch/arm/mach-at91/include/mach/'soc-name'.h) to dt-bindinds include dir (include/dt-bindings/at91/'soc-name'/peripherals.h). These definitions will be used inside dt to define interrupt ids and peripheral clk ids.

[PATCH 3/8] ARM: at91/dt: use periph id macros for at91sam9260 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91sam9260/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9260.dtsi | 57 +++- 1 file changed, 30

[PATCH 5/8] ARM: at91/dt: use periph id macros for at91sam9g45 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91sam9g45/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9g45.dtsi| 57 +

[PATCH 6/8] ARM: at91/dt: use periph id macros for at91sam9n12 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91sam9n12/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 43 ++-- 1 file changed, 22

[PATCH 7/8] ARM: at91/dt: use periph id macros for at91sam9x5 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91sam9x5/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 63 +++-- 1 file changed, 32

[PATCH 8/8] ARM: at91/dt: use periph id macros for sama5d3 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/sama5d3/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3.dtsi | 83 1 file changed, 42

[PATCH 4/8] ARM: at91/dt: use periph id macros for at91sam9263 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91sam9263/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9263.dtsi | 46 +++- 1 file changed, 24

[PATCH 2/8] ARM: at91/dt: use periph id macros for at91rm9200 interrupt definitions

2013-08-01 Thread Boris BREZILLON
This patch make use of the peripheral id macros defined in dt-bindings/at91/at91rm9200/peripherals.h to register peripheral interrupts. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200.dtsi | 59 + 1 file changed, 33

Re: [PATCH -v2] sched,x86: optimize switch_mm for multi-threaded workloads

2013-08-01 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Jul 31, 2013 at 7:14 PM, Rik van Riel r...@redhat.com wrote: Is this better? Not that I really care which version gets applied :) I'm ok with this. That said, I'm assuming this goes in through Ingo, since it is both x86

[PATCH 0/8] ARM: at91/dt: make use of periph id macros

2013-08-01 Thread Boris BREZILLON
Hello, This patch series move at91 SoCs peripheral id definitions from machine specific include dir to dt-bindings include dir. These macros are used to reference interrupts instead of peripheral numbers. This makes dt definitions cleaner and easier to debug (one can easily tell if the

[PATCH v2 10/18] x86, acpi: Try to find if SRAT is overrided earlier.

2013-08-01 Thread Tang Chen
Linux cannot migrate pages used by the kernel due to the direct mapping (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. So when using memory hotplug, we have to prevent the kernel from using hotpluggable memory. The ACPI table SRAT (System Resource Affinity Table)

[PATCH v2 00/18] Arrange hotpluggable memory as ZONE_MOVABLE.

2013-08-01 Thread Tang Chen
This patch-set aims to solve some problems at system boot time to enhance memory hotplug functionality. [Background] The Linux kernel cannot migrate pages used by the kernel because of the kernel direct mapping. Since va = pa + PAGE_OFFSET, if the physical address is changed, we cannot simply

[PATCH v2 09/18] x86: Make get_ramdisk_{image|size}() global.

2013-08-01 Thread Tang Chen
In the following patches, we need to call get_ramdisk_{image|size}() to get initrd file's address and size. So make these two functions global. v1 - v2: As tj suggested, make these two function static inline in arch/x86/include/asm/setup.h. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com

[PATCH v2 15/18] memblock, mem_hotplug: Introduce MEMBLOCK_HOTPLUG flag to mark hotpluggable regions.

2013-08-01 Thread Tang Chen
In find_hotpluggable_memory, once we find out a memory region which is hotpluggable, we want to mark them in memblock.memory. So that we could control memblock allocator not to allocte hotpluggable memory for the kernel later. To achieve this goal, we introduce MEMBLOCK_HOTPLUG flag to indicate

[PATCH v2 17/18] mem-hotplug: Introduce movablenode boot option to {en|dis}able using SRAT.

2013-08-01 Thread Tang Chen
The Hot-Pluggable fired in SRAT specifies which memory is hotpluggable. As we mentioned before, if hotpluggable memory is used by the kernel, it cannot be hot-removed. So memory hotplug users may want to set all hotpluggable memory in ZONE_MOVABLE so that the kernel won't use it. Memory hotplug

[PATCH v2 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-01 Thread Tang Chen
At early time, memblock will reserve some memory for the kernel, such as the kernel code and data segments, initrd file, and so on, which means the kernel resides in these memory regions. Even if these memory regions are hotpluggable, we should not mark them as hotpluggable. Otherwise the kernel

[PATCH v2 12/18] x86, acpi, numa, mem_hotplug: Find hotpluggable memory in SRAT memory affinities.

2013-08-01 Thread Tang Chen
In ACPI SRAT(System Resource Affinity Table), there is a memory affinity for each memory range in the system. In each memory affinity, there is a field indicating that if the memory range is hotpluggable. This patch parses all the memory affinities in SRAT only, and find out all the hotpluggable

[PATCH v2 16/18] memblock, mem_hotplug: Make memblock skip hotpluggable regions by default.

2013-08-01 Thread Tang Chen
Linux kernel cannot migrate pages used by the kernel. As a result, hotpluggable memory used by the kernel won't be able to be hot-removed. To solve this problem, the basic idea is to prevent memblock from allocating hotpluggable memory for the kernel at early time, and arrange all hotpluggable

Re: [PATCH 16/18] sched: Avoid overloading CPUs on a preferred NUMA node

2013-08-01 Thread Srikar Dronamraju
+static int task_numa_find_cpu(struct task_struct *p, int nid) +{ + int node_cpu = cpumask_first(cpumask_of_node(nid)); + int cpu, src_cpu = task_cpu(p), dst_cpu = src_cpu; + unsigned long src_load, dst_load; + unsigned long min_load = ULONG_MAX; + struct task_group *tg

[PATCH v2 14/18] memblock, numa: Introduce flag into memblock.

2013-08-01 Thread Tang Chen
There is no flag in memblock to describe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. And we want to know what kind of memory it is. So we need a way to differentiate memory for different usage. In hotplug environment, we want to reserve

[PATCH v2 11/18] x86, acpi: Try to find SRAT in firmware earlier.

2013-08-01 Thread Tang Chen
This patch introduce early_acpi_firmware_srat() to find the phys addr of SRAT provided by firmware. And call it in find_hotpluggable_memory(). Since we have initialized acpi_gbl_root_table_list earlier, and store all the tables' phys addrs and signatures in it, it is easy to find the SRAT.

[PATCH v2 08/18] x86: get pg_data_t's memory from other node

2013-08-01 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use memblock_alloc_try_nid() instead of memblock_alloc_nid() to retry when the

[PATCH v2 07/18] x86, acpi: Also initialize signature and length when parsing root table.

2013-08-01 Thread Tang Chen
Besides the phys addr of the acpi tables, it will be very convenient if we also have the signature of each table in acpi_gbl_root_table_list at early time. We can find SRAT easily by comparing the signature. This patch alse record signature and some other info in acpi_gbl_root_table_list at early

[PATCH v2 05/18] x86, acpi: Split acpi_boot_table_init() into two parts.

2013-08-01 Thread Tang Chen
In ACPI, SRAT(System Resource Affinity Table) contains NUMA info. The memory affinities in SRAT record every memory range in the system, and also, flags specifying if the memory range is hotpluggable. (Please refer to ACPI spec 5.0 5.2.16) memblock starts to work at very early time, and SRAT has

[PATCH v2 02/18] earlycpio.c: Fix the confusing comment of find_cpio_data().

2013-08-01 Thread Tang Chen
The comments of find_cpio_data() says: * @offset: When a matching file is found, this is the offset to the * beginning of the cpio. .. But according to the code, dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); *offset =

[PATCH v2 01/18] acpi: Print Hot-Pluggable Field in SRAT.

2013-08-01 Thread Tang Chen
The Hot-Pluggable field in SRAT suggests if the memory could be hotplugged while the system is running. Print it as well when parsing SRAT will help users to know which memory is hotpluggable. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Reviewed-by: Wanpeng Li liw...@linux.vnet.ibm.com

[PATCH v2 04/18] acpi: Introduce acpi_invalid_table() to check if a table is invalid.

2013-08-01 Thread Tang Chen
In acpi_initrd_override(), it checks several things to ensure the table it found is valid. In later patches, we need to do these check somewhere else. So this patch introduces a common function acpi_invalid_table() to do all these checks, and reuse it in different places. The function will be used

[PATCH v2 06/18] x86, acpi: Initialize ACPI root table list earlier.

2013-08-01 Thread Tang Chen
We have split acpi_table_init() into two steps: 1. Pares RSDT or XSDT, and initialize acpi_gbl_root_table_list. This step will record all tables' physical address in memory. 2. Check acpi initrd table override and install all tables into acpi_gbl_root_table_list. This patch does step 1

[PATCH v2 03/18] acpi: Remove continue in macro INVALID_TABLE().

2013-08-01 Thread Tang Chen
The macro INVALID_TABLE() is defined like this: #define INVALID_TABLE(x, path, name)\ { pr_err(ACPI OVERRIDE: x [%s%s]\n, path, name); continue; } And it is used like this: for (...) { ... if (...)

[PATCH v2 18/18] x86, numa, acpi, memory-hotplug: Make movablenode have higher priority.

2013-08-01 Thread Tang Chen
Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance down because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this functionality. So we improved movablecore boot

Re: [QUERY] lguest64

2013-08-01 Thread Mike Rapoport
On Wed, Jul 31, 2013 at 6:31 PM, Borislav Petkov b...@alien8.de wrote: On Wed, Jul 31, 2013 at 12:39:23PM +0300, Mike Rapoport wrote: There are plenty virtual machines in EC2, Rackspace, HP and other clouds that do not have hardware virtualization. I believe that running a hypervisor on them

RE: [char-misc-next 2/3] mei: adding sysfs fw_status attribute

2013-08-01 Thread Winkler, Tomas
On Mon, Jul 29, 2013 at 11:08:52PM +, Winkler, Tomas wrote: How do I add new device specific sysfs in non-race way if my entry point is the pci probe function. You do it in the device creation for the device you add below the PCI device in sysfs, by setting the groups field in the

linux-next: Tree for Aug 1

2013-08-01 Thread Stephen Rothwell
Hi all, Changes since 20130731: Removed trees: xen-arm (merged into the xen-tip tree) The ext4 tree still has its build failure so I used the version from next-20130726. The driver-core tree gained a conflict against the net-next tree. The usb-gadget tree lost its build failure but gained

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 31, 2013 at 10:30:41AM +0800, Xiong Zhou wrote: From: Xiong Zhou jencce.ker...@gmail.com First version of this patch makes LUSTRE_FS depends on BLOCK. Second version makes only lloop depends on BLOCK with a config option for this dependence, and remove unnecessary jdb header

Re: [PATCH v2] mac80211: use oneshot blink API for LED triggers

2013-08-01 Thread Johannes Berg
On Thu, 2013-07-25 at 12:00 +0200, Fabio Baltieri wrote: Change mac80211 LED trigger code to use the generic led_trigger_blink_oneshot() API for transmit and receive activity indication. This gives a better feedback to the user, as with the new API each activity event results in a visible

Re: [PATCH v7] serial:st-asc: Add ST ASC driver.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 31, 2013 at 10:36:48AM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across all the ST parts for settop

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: --- /dev/null +++ b/drivers/misc/mic/common/mic_device.h @@ -0,0 +1,81 @@ +/* + * Intel MIC Platform Software Stack (MPSS) + * + * Copyright(c) 2013 Intel Corporation. + * + * This program is free software; you can redistribute

Re: [RESEND PATCH v10 1/8] drivers: phy: add generic PHY framework

2013-08-01 Thread Greg KH
On Fri, Jul 26, 2013 at 06:19:16PM +0530, Kishon Vijay Abraham I wrote: +static int phy_get_id(void) +{ + int ret; + int id; + + ret = ida_pre_get(phy_ida, GFP_KERNEL); + if (!ret) + return -ENOMEM; + + ret = ida_get_new(phy_ida, id); + if (ret 0) +

Re: x86: Make sure IDT is page aligned

2013-08-01 Thread Greg KH
On Thu, Jul 18, 2013 at 06:50:55PM -0700, Greg KH wrote: On Thu, Jul 18, 2013 at 06:36:07PM -0700, Kees Cook wrote: On Thu, Jul 18, 2013 at 6:30 PM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Jul 19, 2013 at 01:15:26AM +, Linux Kernel Mailing List wrote: Gitweb:

Re: [PATCH 0/5] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote: An Intel MIC X100 device is a PCIe form factor add-in coprocessor card based on the Intel Many Integrated Core (MIC) architecture that runs a Linux OS. It is a PCIe endpoint in a platform and therefore implements the three required

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Boots and shuts down the card via sysfs entries. c) Allocates and maps a device page for communication with the card driver and updates the device

Re: [PATCH 1/3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-01 Thread Sonic Zhang
Hi Linus, On Tue, Jul 30, 2013 at 12:47 AM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Jul 26, 2013 at 6:57 AM, Sonic Zhang sonic@gmail.com wrote: Could you please comment on this patch set? It is based on your former comments. I'll get to it. I'm pretty choked right now and

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Boots and shuts down the card via sysfs entries. c) Allocates and maps a device page for communication with the card driver and updates the device

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-01 Thread Raghavendra K T
On 07/31/2013 11:54 AM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: On 07/25/2013 03:08 PM, Raghavendra K T wrote: On 07/25/2013 02:45 PM, Gleb Natapov wrote: On Thu, Jul 25, 2013 at 02:47:37PM +0530, Raghavendra K T wrote: On 07/24/2013 06:06 PM,

Re: [RFC PATCH] sched: Reduce overestimating avg_idle

2013-08-01 Thread Jason Low
I wonder if we could get even more conservative values of avg_idle by clamping delta to max, before calling update_avg... Or rather, I wonder if that would matter enough to make a difference, and in what direction that difference would be. In other words: if (rq-idle_stamp) {

Re: [char-misc-next 2/3] mei: adding sysfs fw_status attribute

2013-08-01 Thread Greg KH
On Thu, Aug 01, 2013 at 07:21:30AM +, Winkler, Tomas wrote: On Mon, Jul 29, 2013 at 11:08:52PM +, Winkler, Tomas wrote: How do I add new device specific sysfs in non-race way if my entry point is the pci probe function. You do it in the device creation for the device you

Re: [PATCH 0/8] ARM: at91/dt: make use of periph id macros

2013-08-01 Thread Richard Genoud
2013/8/1 Boris BREZILLON b.brezil...@overkiz.com: Hello, This patch series move at91 SoCs peripheral id definitions from machine specific include dir to dt-bindings include dir. These macros are used to reference interrupts instead of peripheral numbers. This makes dt definitions cleaner

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-01 Thread Zoran Markovic
Ulf, I got confirmation from Broadcom that all cell phone reference designs have card insert/removal configured as a wakeup IRQ. Unless our customers change that - which I doubt - this results in a considerable number of products implementing this feature. Please let me know how you wish to

Re: [PATCH 0/5] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-01 Thread Asias He
Hello Sudeep Dutt, On Wed, Jul 31, 2013 at 06:46:08PM -0700, Greg Kroah-Hartman wrote: On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote: An Intel MIC X100 device is a PCIe form factor add-in coprocessor card based on the Intel Many Integrated Core (MIC) architecture that runs a

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-01 Thread Gleb Natapov
On Thu, Aug 01, 2013 at 01:08:47PM +0530, Raghavendra K T wrote: On 07/31/2013 11:54 AM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: On 07/25/2013 03:08 PM, Raghavendra K T wrote: On 07/25/2013 02:45 PM, Gleb Natapov wrote: On Thu, Jul 25, 2013 at

[PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Joe Perches
There are several drivers in drivers/net/usb/ that do not have specific MAINTAINERS that should have emails forwarded to the linux-usb mailing list. Add a section for those drivers. Signed-off-by: Joe Perches j...@perches.com --- In the future, you do not need to send drivers/net/usb/ patches

Re: [RFC PATCH] sched: Reduce overestimating avg_idle

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 12:36:41AM -0700, Jason Low wrote: So how acceptable is setting a limit of 2*migration cost or less on the delta rather than on the avg? Its fine with me as we're already doing that. But since you asked last time around if those two things weren't unrelated etc.. -- To

Re: linux-next: Tree for Aug 1

2013-08-01 Thread Sedat Dilek
On Thu, Aug 1, 2013 at 9:25 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Changes since 20130731: Removed trees: xen-arm (merged into the xen-tip tree) The ext4 tree still has its build failure so I used the version from next-20130726. The driver-core tree gained a conflict

Re: [PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Greg KH
On Thu, Aug 01, 2013 at 12:48:48AM -0700, Joe Perches wrote: There are several drivers in drivers/net/usb/ that do not have specific MAINTAINERS that should have emails forwarded to the linux-usb mailing list. Add a section for those drivers. Signed-off-by: Joe Perches j...@perches.com

[PATCH] openrisc: tlb miss handler optimizations

2013-08-01 Thread Stefan Kristiansson
By slightly reorganizing the code, the number of registers used in the tlb miss handlers can be reduced by two, thus removing the need to save them to memory. Also, some dead and commented out code is removed. No functional change. Signed-off-by: Stefan Kristiansson

[PATCH v4] microblaze: Fix clone syscall

2013-08-01 Thread Michal Simek
Fix inadvertent breakage in the clone syscall ABI for Microblaze that was introduced in this patch: microblaze: switch to generic fork/vfork/clone (sha1: f3268edbe6fe0ce56e62c6d6b14640aeb04864b7) The Microblaze syscall ABI for clone takes the parent tid address in the 4th argument; the third

Re: [PATCH v3] microblaze: Fix clone syscall

2013-08-01 Thread Michal Simek
On 07/31/2013 10:10 PM, Andrew Morton wrote: On Mon, 29 Jul 2013 09:01:48 +0200 Michal Simek michal.si...@xilinx.com wrote: Fix inadvertent breakage in the clone syscall ABI for Microblaze that was introduced in this patch: microblaze: switch to generic fork/vfork/clone (sha1:

[PATCH] f2fs: fix handling orphan inodes

2013-08-01 Thread Jaegeuk Kim
This patch fixes mishandling of the sbi-n_orphans variable. If users request lots of f2fs_unlink(), check_orphan_space() could be contended. In such the case, sbi-n_orphans can be read incorrectly so that f2fs_unlink() would fall into the wrong state which results in the failure of

Re: [mmotm:master 69/312] kernel/watchdog.c:518:2: error: implicit declaration of function '__smp_call_function_single'

2013-08-01 Thread Michal Hocko
On Thu 01-08-13 08:42:17, Wu Fengguang wrote: tree: git://git.cmpxchg.org/linux-mmotm.git master head: 01db8fe7b3c8461274e4c9257789514987e7abc8 commit: 5701031ddea61c051fb8309cbf372dd94e540f22 [69/312] watchdog: update watchdog_tresh properly config: i386-randconfig-c00-0801 (attached as

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-01 Thread Lee Jones
On Wed, 31 Jul 2013, Kim, Milo wrote: Thanks for the review, please see my comments. snip * looks good up to me up to here * Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is there nothing we can do about that? OK, enum value of lp3943_pwm_output can be changed

Re: [PATCH 1/6] usb: host: add has_tdi_phy_lpm capability bit

2013-08-01 Thread Matthieu CASTET
Hi, Le Wed, 31 Jul 2013 18:41:57 +0100, Tuomas Tynkkynen ttynkky...@nvidia.com a écrit : The has_hostpc capability bit indicates that the host controller has the HOSTPC register extensions, but at the same time enables clock disabling power saving features with the PHY Low Power Clock Disable

Re: i915 backlight

2013-08-01 Thread Borislav Petkov
On Wed, Jul 31, 2013 at 11:16:52PM +0200, Rafael J. Wysocki wrote: Does reverting efaa14c help? Nope. But see my other reply to Aaron. Thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Joe Perches
On Thu, 2013-08-01 at 15:56 +0800, Greg KH wrote: On Thu, Aug 01, 2013 at 12:48:48AM -0700, Joe Perches wrote: There are several drivers in drivers/net/usb/ that do not have specific MAINTAINERS that should have emails forwarded to the linux-usb mailing list. diff --git a/MAINTAINERS

Re: [PATCH 02/11] inode: add IOP_NOTHASHED to avoid inode hash lock in evict

2013-08-01 Thread Christoph Hellwig
On Wed, Jul 31, 2013 at 02:15:41PM +1000, Dave Chinner wrote: From: Dave Chinner dchin...@redhat.com Some filesystems don't use the VFS inode hash and fake the fact they are hashed so that all the writeback code works correctly. However, this means the evict() path still tries to remove the

Re: i915 backlight

2013-08-01 Thread Borislav Petkov
On Thu, Aug 01, 2013 at 09:13:35AM +0800, Aaron Lu wrote: Can you please run acpi_listen and then press the Fn-Fx key, see if the events are correctly sent out? Like this? # acpi_listen video/brightnessdown BRTDN 0087 video/brightnessup BRTUP 0086 video/brightnessdown

RE: [PATCH] crypto: remove double execution of the same test suite

2013-08-01 Thread Stoica Cristian-B18196
Which algorithm (apart from crc* which I know and will fix) uses the same driver name as its algorithm name? Doing this will cause issues when an alternative implementation for that algorithm gets added. Fixing names resolves double calls only for the thread cryptomgr_test-alg_test where the

Re: [RFC][PATCH] cpufreq: Do not hold driver module references for additional policy CPUs

2013-08-01 Thread Srivatsa S. Bhat
On 08/01/2013 05:38 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The cpufreq core is a little inconsistent in the way it uses the driver module refcount. Namely, if __cpufreq_add_dev() is called for a CPU without siblings or generally a CPU for which a

Re: [PATCH 0/9] perf tools: Enhance and correct srcline behavior

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 11:55:35AM +0900, Namhyung Kim wrote: Hello, This patchset tries to fix and enhance current srcline behavior. Firstly it doesn't actually sort by srcline info but by ip. I suspect it was because of a performance reason to run external addr2line utility. It showed

Re: [PATCH 08/11] inode: convert per-sb inode list to a list_lru

2013-08-01 Thread Christoph Hellwig
At this point the list_lru name really becomes confusing. Given that it's not really LRU specific maybe just rename it to pernode_list or similar? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/3] xfs: Implement FALLOC_FL_COLLAPSE_RANGE

2013-08-01 Thread Christoph Hellwig
Instead of adding more mess to change_file_space it might be a good idea to pull my refactor the preallocation and hole punching code series from December in first. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/4] ALSA: Added jack detection kcontrol support

2013-08-01 Thread Mark Brown
On Wed, Jul 31, 2013 at 08:48:27PM -0700, Felipe Ferreri Tonello wrote: I did that but I'm not happy with the control name. Usually drivers add jacks like: Headset for a headset, Headphone for a headphone and so on. I did the following: control name is jack name + (jack type) + Jack. If jack

Hello

2013-08-01 Thread Jon Hutchins
I am Capt. Jon Hutchins from Multinational Base Tarin Kot, Afghanistan. I found your contact particulars in an address journals and i summoned up courage to contact you. With a very despirate need for help, i am seeking your assistance in evacuating the sum of $5,200,000.00 to you for safe

Re: RFC: named anonymous vmas

2013-08-01 Thread Christoph Hellwig
Btw, FreeBSD has an extension to shm_open to create unnamed but fd passable segments. From their man page: As a FreeBSD extension, the constant SHM_ANON may be used for the path argument to shm_open(). In this case, an anonymous, unnamed shared memory object is created. Since the

Re: [GIT PULL] nohz patches for 3.12 preview v3

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 02:31:17AM +0200, Frederic Weisbecker wrote: Hi, So none of the patches from the previous v2 posting have changed. I've just added two more in order to fix build crashes reported by Wu Fengguang: hardirq: Split preempt count mask definitions m68k:

Re: [PATCH] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-01 Thread amit daniel kachhap
Hi Naveen, Can you rebase these patches against https://git.kernel.org/cgit/linux/kernel/git/evalenti/linux-soc-thermal.git/log/?h=next. All these patches have been queued for 3.12 merge and contains the new re-structured TMU driver. Thanks, Amit Daniel On Thu, Aug 1, 2013 at 11:32 AM, Naveen

Re: [PATCH 01/11] writeback: plug writeback at a high level

2013-08-01 Thread Jan Kara
On Thu 01-08-13 15:48:05, Dave Chinner wrote: On Wed, Jul 31, 2013 at 04:40:19PM +0200, Jan Kara wrote: On Wed 31-07-13 14:15:40, Dave Chinner wrote: From: Dave Chinner dchin...@redhat.com Doing writeback on lots of little files causes terrible IOPS storms because of the

Re: RFC: named anonymous vmas

2013-08-01 Thread Rich Felker
On Thu, Aug 01, 2013 at 01:29:51AM -0700, Christoph Hellwig wrote: Btw, FreeBSD has an extension to shm_open to create unnamed but fd passable segments. From their man page: As a FreeBSD extension, the constant SHM_ANON may be used for the path argument to shm_open(). In this case,

Cannot hot remove a memory device

2013-08-01 Thread Yasuaki Ishimatsu
By following commit, I cannot hot remove a memory device. ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes commit e2ff39400d81233374e780b133496a2296643d7d Details are follows: When I add a memory device, acpi_memory_enable_device() always fails as follows: ... [ 1271.114116]

Re: Re: [PATCH] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-01 Thread majianpeng
Hi Jianpeng Ma, On 8/1/2013 10:18 AM, majianpeng wrote: We found a problem when we removed a working sd card that the irqaction of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. In func omap_hsmmc_reset_controller_fsm, it should watch a 0-1 transition.It used loops_per_jiffy

  1   2   3   4   5   6   7   8   9   10   >