Re: [PATCH] i2c-designware: Intel BayTrail PMIC I2C bus support

2014-09-14 Thread Maxime Coquelin
Hi David, On 09/12/2014 07:36 PM, David E. Box wrote: This patch implements an I2C bus sharing mechanism between the host and platform hardware on select Intel BayTrail SoC platforms using the XPower AXP288 PMIC. On these platforms access to the PMIC must be shared with platform hardware. The h

[PATCH v2] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-09-14 Thread Johannes Thumshirn
16z135 IP Core has changed so the driver needs to be updated to respect these changes. The following changes have been made: * Don't invert the 16z135 modem status register when reading. * Add module parameter to configure the (baud rate dependent) RX timeout. Character timeout in seconds = (tim

Re: [PATCH] backlight: add new lm3509 backlight driver

2014-09-14 Thread Jingoo Han
On Friday, August 29, 2014 7:46 PM, Daniel Jeong wrote: > > This is a general driver for LM3509 backlgiht chip of TI. > LM3509 is High Efficiency Boost for White LED's and/or OLED Displays with Dual > Current Sinks. This driver supports OLED/White LED select, brightness control > sub/main conrtorl

[PATCH] MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC

2014-09-14 Thread Andreas Werner
Added maintainer for the following MEN F21BMC drivers: - menf21bmc (MFD) - menf21bmc_wdt (Watchdog) - menf21bmc_hwmon (HWMON) - leds-menf21bmc (LED) Signed-off-by: Andreas Werner --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAIN

linux-next: manual merge of the llvmlinux tree with the tree

2014-09-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the llvmlinux tree got a conflict in drivers/gpu/drm/msm/hdmi/hdmi.c between commit fc886107c556 ("drm/msm: Change nested function to static function") from the watchdog tree and commit 8f2c494adad0 ("msm, hdmi: LLVMLinux: Remove nested function from HDMI driver

Re: [Patch v9 3/3] phy: Add Qualcomm DWC3 HS/SS PHY driver

2014-09-14 Thread Kishon Vijay Abraham I
Hi, On Sunday 14 September 2014 07:54 AM, Felipe Balbi wrote: > Hi, > > On Sat, Sep 13, 2014 at 12:16:01PM +0530, Kishon Vijay Abraham I wrote: >> On Saturday 13 September 2014 12:58 AM, Andy Gross wrote: >>> This patch adds a new driver for the Qualcomm USB 3.0 PHY that exists on >>> some >>> Q

Re: [PATCHv4 0/3] new APIs to allocate buffer-cache with user specific flag

2014-09-14 Thread Minchan Kim
On Mon, Sep 15, 2014 at 10:10:18AM +0900, Joonsoo Kim wrote: > On Fri, Sep 05, 2014 at 10:14:16AM -0400, Theodore Ts'o wrote: > > On Fri, Sep 05, 2014 at 04:32:48PM +0900, Joonsoo Kim wrote: > > > I also test another approach, such as allocate freepage in CMA > > > reserved region as late as possib

Re: [PATCH 2/6] blk-mq: call blk_mq_start_request from ->queue_rq

2014-09-14 Thread Ming Lei
On Sun, Sep 14, 2014 at 7:40 AM, Christoph Hellwig wrote: > When we call blk_mq_start_request from the core blk-mq code before calling > into > ->queue_rq there is a racy window where the timeout handler can hit before > we've > fully set up the driver specific part of the command. It is quite

[PATCH v2 3/3] mm/slab: use percpu allocator for cpu cache

2014-09-14 Thread Joonsoo Kim
Because of chicken and egg problem, initializaion of SLAB is really complicated. We need to allocate cpu cache through SLAB to make the kmem_cache works, but, before initialization of kmem_cache, allocation through SLAB is impossible. On the other hand, SLUB does initialization with more simple wa

[PATCH v2 2/3] mm/slab: support slab merge

2014-09-14 Thread Joonsoo Kim
Slab merge is good feature to reduce fragmentation. If new creating slab have similar size and property with exsitent slab, this feature reuse it rather than creating new one. As a result, objects are packed into fewer slabs so that fragmentation is reduced. Below is result of my testing. * After

[PATCH v2 1/3] mm/slab_common: commonize slab merge logic

2014-09-14 Thread Joonsoo Kim
Slab merge is good feature to reduce fragmentation. Now, it is only applied to SLUB, but, it would be good to apply it to SLAB. This patch is preparation step to apply slab merge to SLAB by commonizing slab merge logic. v2: add slab_nomerge kernel parameter and document for it. Cc: Randy Dunlap

Re: [PATCH v10 20/21] ext4: Add DAX functionality

2014-09-14 Thread Dave Chinner
On Sun, Sep 14, 2014 at 03:25:45PM +0300, Boaz Harrosh wrote: > On 09/11/2014 07:38 AM, Dave Chinner wrote: > <> > > > > And so ext4 is buggy, because what ext4 does > > > > ... is not a retry - it falls back to a fundamentally different > > code path. i.e: > > > > sys_write() > > > >

Re: [PATCH v2] zd1211rw: replace ZD_ASSERT with lockdep_assert_held()

2014-09-14 Thread Julian Calaby
Hi Sanjeev, On Thu, Sep 11, 2014 at 8:36 PM, Sharma, Sanjeev wrote: > -Original Message- > From: Johannes Berg [mailto:johan...@sipsolutions.net] > Sent: Thursday, September 11, 2014 3:42 PM > To: Sharma, Sanjeev > Cc: d...@gentoo.org; k...@deine-taler.de; linux-wirel...@vger.kernel.org;

[PATCH] arm64: LLVMLinux: Fix inline arm64 assembly for use with clang

2014-09-14 Thread behanw
From: Mark Charlebois Remove '#' from immediate parameter in AARCH64 inline assembly in mmu. This code now works with both gcc and clang. Signed-off-by: Mark Charlebois Signed-off-by: Behan Webster --- arch/arm64/mm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

Re: [PATCH] vfs: move getname() from callers to do_mount()

2014-09-14 Thread Seunghun Lee
On September 15, 2014 2:18:50 PM GMT+09:00, Al Viro wrote: >On Mon, Sep 15, 2014 at 01:39:19PM +0900, Seunghun Lee wrote: >> 2014. 9. 15. 오전 3:13에 "Al Viro" wrote: >> > Applied with one modification: this getname/kern_path/putname is > >> Ok, I will resend it after modification. > >See above...

Re: [PATCH] vfs: move getname() from callers to do_mount()

2014-09-14 Thread Al Viro
On Mon, Sep 15, 2014 at 01:39:19PM +0900, Seunghun Lee wrote: > 2014. 9. 15. 오전 3:13에 "Al Viro" wrote: > > Applied with one modification: this getname/kern_path/putname is > Ok, I will resend it after modification. See above... It's already in vfs.git#for-next. The last commit of the branch at

[RFC] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-14 Thread Wang, Yalin
this patch extend the start and end address of initrd to be page aligned, so that we can free all memory including the un-page aligned head or tail page of initrd, if the start or end address of initrd are not page aligned, the page can't be freed by free_initrd_mem() function. Signed-off-by: Yali

Re: [RFC PATCH v3 0/4] fix freepage count problems in memory isolation

2014-09-14 Thread Minchan Kim
Hi Joonsoo, Sorry for late response. On Tue, Aug 26, 2014 at 05:08:14PM +0900, Joonsoo Kim wrote: > This is version 3 patchset which is improved and minimized version of > version 1 to fix freepage accounting problem during memory isolation. > I tried different approach in version 2, but, it look

[PATCH] xen: make pvscsi frontend dependant on xenbus frontend

2014-09-14 Thread Juergen Gross
The pvscsi frontend driver requires the xenbus frontend driver. Reflect this in Kconfig. Signed-off-by: Juergen Gross --- drivers/scsi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 9130df1..ff62dc1 100644 --- a/drivers/scsi/Kconfig

Re: [PATCH v3 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2014-09-14 Thread Grant Likely
On Thu, 11 Sep 2014 09:05:25 -0700, Olof Johansson wrote: > On Thu, Sep 11, 2014 at 6:29 AM, Grant Likely wrote: > > On Mon, 1 Sep 2014 22:57:38 +0800, Hanjun Guo > > wrote: > >> ACPI 5.1 has been released and now be freely available for > >> download [1]. It fixed some major gaps to run ACPI

Re: [PATCH v4 2/2] arcmsr: simplify of updating doneq_index and postq_index

2014-09-14 Thread Ching Huang
On Fri, 2014-09-12 at 16:05 +0200, Tomas Henzl wrote: > On 09/12/2014 10:22 AM, Ching Huang wrote: > > From: Ching Huang > > > > This patch is to modify previous patch 16/17 and it is relative to > > http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr > > >

Re: [PATCH v3 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2014-09-14 Thread Grant Likely
On Thu, 11 Sep 2014 16:37:39 +0100, Catalin Marinas wrote: > On Thu, Sep 11, 2014 at 02:29:34PM +0100, Grant Likely wrote: > > Regarding the requests to refactor ACPICA to work better for ARM. I > > completely agree that it should be done, but I do not think it should be > > a prerequisite to get

Re: [PATCH v5] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-09-14 Thread Mike Galbraith
On Thu, 2014-09-11 at 16:21 +0900, Yasuaki Ishimatsu wrote: > There is no response for two months since posting v4. > What can I do for pushing the patch to upstream? Looks to me like we have two patches floating about for more or less the same problem, this one, and... https://lkml.org/lkml/201

[RFC/PATCH] Fix end_of_stack() and stack_not_used() for archs using CONFIG_STACK_GROWSUP

2014-09-14 Thread Chuck Ebbert
When looking at Aaron's patches adding extra checks of the stack canary, I realized the code almost certainly never worked if the stack grows up. Something like this is needed, I think. Not-Signed-Off-By: Chuck Ebbert --- Not even compile tested. diff --git a/include/linux/sched.h b/include/li

Re: [PATCH v3 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2014-09-14 Thread Grant Likely
On Thu, 11 Sep 2014 14:49:22 +0100, Will Deacon wrote: > Hi Grant, > > On Thu, Sep 11, 2014 at 02:29:34PM +0100, Grant Likely wrote: > > On Mon, 1 Sep 2014 22:57:38 +0800, Hanjun Guo > > wrote: > > > ACPI 5.1 has been released and now be freely available for > > > download [1]. It fixed some m

Re: [PATCH v5 0002/0003] mmc: Replace "enhanced_area_en" attribute by "partition_setting_completed"

2014-09-14 Thread Jaehoon Chung
On 09/12/2014 11:31 PM, Grégory Soutadé wrote: > Replace ext_csd "enhanced_area_en" attribute by > "partition_setting_completed". It was used whether or > not enhanced user area is defined and without checks of > EXT_CSD_PARTITION_SETTING_COMPLETED bit. > > Signed-off-by: Grégory Soutadé > ---

Re: [QUERY] Confusing usage of rq->nr_running in load balancing

2014-09-14 Thread Preeti U Murthy
Hi Peter, Vincent, On 09/03/2014 10:28 PM, Vincent Guittot wrote: > On 3 September 2014 14:21, Preeti U Murthy wrote: >> Hi, > > Hi Preeti, > >> >> There are places in kernel/sched/fair.c in the load balancing part where >> rq->nr_running is used as against cfs_rq->nr_running. At least I could

[PATCH] clk: qcom: Add IPQ8064 PLL required for USB

2014-09-14 Thread Andy Gross
This patch adds the PLL0 that is required for the USB clocks to work properly. Signed-off-by: Andy Gross --- drivers/clk/qcom/gcc-ipq806x.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c index

Re: [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-14 Thread Grant Likely
On Mon, 01 Sep 2014 19:11:44 +0200, Arnd Bergmann wrote: > On Monday 01 September 2014 18:04:47 Catalin Marinas wrote: > > On Mon, Sep 01, 2014 at 04:06:00PM +0100, Hanjun Guo wrote: > > > +#ifdef CONFIG_ACPI > > > +/* Configure some sensible defaults for ACPI mode */ > > > +static int smsc911x_pr

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-14 Thread Grant Likely
On Mon, 1 Sep 2014 16:28:54 +0100, Graeme Gregory wrote: > On Mon, Sep 01, 2014 at 05:17:51PM +0200, Arnd Bergmann wrote: > > On Monday 01 September 2014 23:06:00 Hanjun Guo wrote: > > > +#ifdef CONFIG_ACPI > > > +/* Configure some sensible defaults for ACPI mode */ > > > +static int smsc911x_pro

Re: [PATCH v3 02/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2014-09-14 Thread Grant Likely
On Sun, Sep 14, 2014 at 2:59 PM, Catalin Marinas wrote: > On 14 Sep 2014, at 16:40, Grant Likely wrote: >> On Thu, 11 Sep 2014 12:01:46 +0100, Catalin Marinas >> wrote: >>> On Wed, Sep 10, 2014 at 10:51:30PM +0100, Grant Likely wrote: On Wed, 10 Sep 2014 13:33:52 +0100, Catalin Marinas >>

Re: [PATCH RFC] x86 early_ioremap: increase FIX_BTMAPS_SLOTS to 8

2014-09-14 Thread Dave Young
On 09/14/14 at 07:42pm, Greg KH wrote: > On Mon, Sep 15, 2014 at 10:38:05AM +0800, Dave Young wrote: > > On 09/14/14 at 03:14pm, Matt Fleming wrote: > > > On Tue, 26 Aug, at 05:06:41PM, Dave Young wrote: > > > > 3.16 kernel boot fail with earlyprintk=efi, it keeps scrolling at the > > > > bottom li

Re: [Patch Part3 V5 8/8] pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug

2014-09-14 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > Finally enhance pci_root driver to support DMAR device hotplug when > hot-plugging PCI host bridges. Reviewed-by: Yijing Wang > > Signed-off-by: Jiang Liu > --- > drivers/acpi/pci_root.c | 16 ++-- > 1 file changed, 14 insertions(+), 2 dele

RE: [PATCH net 1/2] r8169: fix the default setting of rx vlan

2014-09-14 Thread Hayes Wang
Francois Romieu [mailto:rom...@fr.zoreil.com] > Sent: Saturday, September 13, 2014 3:40 AM [...] > The same fix should be relevant for NETIF_F_RXCSUM. You may thus as > well remove the "changed" test in __rtl8169_set_features and keep > everything there. In the probe function (rtl_init_one), RxC

Re: [PATCH] net: ethernet: marvell: sky2.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-09-14 Thread Stephen Hemminger
On Sun, 14 Sep 2014 19:33:43 +0200 Rickard Strandqvist wrote: > Replacing strncpy with strlcpy to avoid strings that lacks null terminate. > > Signed-off-by: Rickard Strandqvist > --- > drivers/net/ethernet/marvell/sky2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

linux-next: manual merge of the net-next tree with the mips tree

2014-09-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in arch/mips/net/bpf_jit.c between commit 98fb24af5e68 ("arch/mips/net/bpf_jit.c: fix failure check") from the mips tree and commit 233577a22089 ("net: filter: constify detection of pkt_type_offset") from the net-next tree. I fi

Re: [Patch v4 1/2] freezer: check OOM kill while being frozen

2014-09-14 Thread Rafael J. Wysocki
On Monday, September 15, 2014 09:56:57 AM Tejun Heo wrote: > On Sun, Sep 14, 2014 at 06:43:31PM +0200, Rafael J. Wysocki wrote: > > On Saturday, September 13, 2014 08:59:35 AM Tejun Heo wrote: > > > Doesn't this mean that if PM freezing and OOM killing race each other, > > > the system may hang? D

Re: [PATCH 0/2] Support CrystalCove PMIC ACPI operation region

2014-09-14 Thread Aaron Lu
I wonder if anyone has looked at this? Note that this is for CrystalCove PMIC operation region support and the CrystalCove driver is already in mainline, not for the DollarCove PMIC driver that Jacob is currently upstreaming, so the patch doesn't have any dependency. Regards, Aaron On Tue, Sep 0

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-14 Thread Ching Huang
On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: > On 09/12/2014 09:29 AM, Ching Huang wrote: > > From: Ching Huang > > > > This patch is to modify previous patch 13/17 and it is relative to > > http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr > > >

Re: [Patch Part3 V5 7/8] iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug

2014-09-14 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > Implement required callback functions for intel-iommu driver > to support DMAR unit hotplug. > Reviewed-by: Yijing Wang > Signed-off-by: Jiang Liu > --- > drivers/iommu/intel-iommu.c | 206 > +++ > 1 file changed

Re: [PATCH 3.12 40/56] ext4: fix ext4_discard_allocated_blocks() if we can't allocate the pa struct

2014-09-14 Thread Ben Hutchings
On Wed, 2014-09-03 at 11:26 +0200, Jiri Slaby wrote: > From: Theodore Ts'o > > 3.12-stable review patch. If anyone has any objections, please let me know. > > === > > commit 86f0afd463215fc3e58020493482faa4ac3a4d69 upstream. > > If there is a failure while allocating the prealloca

Re: [PATCH v2 1/3] PCI/MSI/PPC: Remove arch_msi_check_device()

2014-09-14 Thread Michael Ellerman
On Sun, 2014-09-07 at 20:57 +0200, Alexander Gordeev wrote: > Moving MSI checks from arch_msi_check_device() function to > arch_setup_msi_irqs() function makes code more compact and > allows removing unnecessary hook arch_msi_check_device() > from generic MSI code. > > Cc: linuxppc-...@lists.ozlab

Re: [PATCH RFC] x86 early_ioremap: increase FIX_BTMAPS_SLOTS to 8

2014-09-14 Thread Greg KH
On Mon, Sep 15, 2014 at 10:38:05AM +0800, Dave Young wrote: > On 09/14/14 at 03:14pm, Matt Fleming wrote: > > On Tue, 26 Aug, at 05:06:41PM, Dave Young wrote: > > > 3.16 kernel boot fail with earlyprintk=efi, it keeps scrolling at the > > > bottom line of screen. > > > > > > Bisected, the first ba

Re: [PATCH v3 3/3] sched: BUG when stack end location is over written

2014-09-14 Thread Michael Ellerman
On Fri, 2014-09-12 at 12:58 +0200, Mike Galbraith wrote: > On Fri, 2014-09-12 at 10:44 +0100, Aaron Tomlin wrote: > > On Fri, Sep 12, 2014 at 02:06:57PM +1000, Michael Ellerman wrote: > > > On Thu, 2014-09-11 at 16:41 +0100, Aaron Tomlin wrote: > > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.

Re: [PATCH RFC] x86 early_ioremap: increase FIX_BTMAPS_SLOTS to 8

2014-09-14 Thread Dave Young
On 09/14/14 at 03:14pm, Matt Fleming wrote: > On Tue, 26 Aug, at 05:06:41PM, Dave Young wrote: > > 3.16 kernel boot fail with earlyprintk=efi, it keeps scrolling at the > > bottom line of screen. > > > > Bisected, the first bad commit is below: > > commit 86dfc6f339886559d80ee0d4bd20fe5ee90450f0 >

RE: [PATCH] fbdev: fsl-sii902x: HDMI support for Freescale SoCs

2014-09-14 Thread li.xi...@freescale.com
Hi Tomi, Thanks very much for your comments. > Subject: Re: [PATCH] fbdev: fsl-sii902x: HDMI support for Freescale SoCs > > Hi, > > On 05/09/14 07:48, Xiubo Li wrote: > > Some Freescale SoCs, there has an DVI/HDMI controller and a PHY, > > attached to one of their display controller unit's LCD

Re: [RFC PATCH v3 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-09-14 Thread Joonsoo Kim
On Mon, Sep 08, 2014 at 10:31:29AM +0200, Vlastimil Babka wrote: > On 08/26/2014 10:08 AM, Joonsoo Kim wrote: > > >diff --git a/mm/page_alloc.c b/mm/page_alloc.c > >index f86023b..51e0d13 100644 > >--- a/mm/page_alloc.c > >+++ b/mm/page_alloc.c > >@@ -740,9 +740,15 @@ static void free_one_page(str

[PATCH] arm:extend __init_end to a page align address

2014-09-14 Thread Wang, Yalin
this patch change the __init_end address to a page align address, so that free_initmem() can free the whole .init section, because if the end address is not page aligned, it will round down to a page align address, then the tail unligned page will not be freed. Signed-off-by: wang --- arch/arm/k

Re: [Patch Part3 V5 6/8] iommu/vt-d: Enhance error recovery in function intel_enable_irq_remapping()

2014-09-14 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > Enhance error recovery in function intel_enable_irq_remapping() > by tearing down all created data structures. > > Signed-off-by: Jiang Liu > --- > drivers/iommu/intel_irq_remapping.c |8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > d

Re: [PATCH] Set EXTRAVERSION to -eudyptula of Makefile

2014-09-14 Thread Angelo Yin
Hello Sudip, I may misunderstand the task requirements. Very sorry for disturbance. Thank you very much! On Mon, Sep 15, 2014 at 1:19 AM, Sudip Mukherjee wrote: > On Sun, Sep 14, 2014 at 08:54:43PM +0800, Amitabha Yin wrote: >> Hello all, >> >> Set EXTRAVERSION to -eudyptula in Makefile for >>

Re: [Patch Part3 V5 5/8] iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit hotplug

2014-09-14 Thread Yijing Wang
> +static void ir_remove_ioapic_hpet_scope(struct intel_iommu *iommu) > +{ > + int i; > > - ir_parse_one_hpet_scope(scope, iommu); > - } > - start += scope->length; > - } > + for (i = 0; i < MAX_HPET_TBS; i++) > + if (ir_hpet[i].

Re: [f2fs-dev] [PATCH 04/10] f2fs: give an option to enable in-place-updates during fsync to users

2014-09-14 Thread Changman Lee
Hi JK, I think it' nicer if this can be used as 'OR' with other policy together. If so, we can also cover the weakness in high utilization. Regard, Changman On Sun, Sep 14, 2014 at 03:14:18PM -0700, Jaegeuk Kim wrote: > If user wrote F2FS_IPU_FSYNC:4 in /sys/fs/f2fs/ipu_policy, f2fs_sync_file >

Re: [PATCH] slab: implement kmalloc guard

2014-09-14 Thread Joonsoo Kim
On Thu, Sep 11, 2014 at 10:32:52PM -0400, Mikulas Patocka wrote: > > > On Mon, 8 Sep 2014, Christoph Lameter wrote: > > > On Mon, 8 Sep 2014, Mikulas Patocka wrote: > > > > > I don't know what you mean. If someone allocates 1 objects with sizes > > > from 1 to 1, you can't have 1 sl

Re: 3.15 Regression Due to goldfish bus Commit

2014-09-14 Thread Greg Kroah-Hartman
On Mon, Sep 15, 2014 at 12:12:19AM +0100, One Thousand Gnomes wrote: > On Sun, 14 Sep 2014 14:57:37 -0700 > Greg Kroah-Hartman wrote: > > > On Sun, Sep 14, 2014 at 05:38:55PM -0400, Mark S wrote: > > > Commit c1bc97f8f498a2bfab63ceef761fb0e88ef7c065 causes a gateway x86 > > > laptop, > > > booti

Re: [PATCH] net: ethernet: marvell: sky2.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-09-14 Thread Stephen Hemminger
On Sun, 14 Sep 2014 19:33:43 +0200 Rickard Strandqvist wrote: > Replacing strncpy with strlcpy to avoid strings that lacks null terminate. > > Signed-off-by: Rickard Strandqvist > --- > drivers/net/ethernet/marvell/sky2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [Patch Part3 V5 4/8] iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug

2014-09-14 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > According to Intel VT-d specification, _DSM method to support DMAR > hotplug should exist directly under corresponding ACPI object > representing PCI host bridge. But some BIOSes doesn't conform to > this, so search for _DSM method in the subtree starting from

Linux 3.17-rc5

2014-09-14 Thread Linus Torvalds
So I should probably have delayed this until Wednesday for sentimental reasons: that will be 23 years since I uploaded the 0.01 source tree. But I'm not an overly sentimental person, so screw that. I'm doing my normal Sunday release. And as I mentioned in the rc4 notes, the previous rc was pretty

Re: [PATCH -mmotm] mm: fix kmemcheck.c build errors

2014-09-14 Thread Joonsoo Kim
On Fri, Sep 05, 2014 at 01:01:02PM -0700, Andrew Morton wrote: > On Fri, 5 Sep 2014 16:28:06 +0900 Joonsoo Kim wrote: > > > mm-slab_common-move-kmem_cache-definition-to-internal-header.patch > > in mmotm makes following build failure. > > > > ../mm/kmemcheck.c:70:7: error: dereferencing pointer

Re: [Patch Part3 V5 3/8] iommu/vt-d: Implement DMAR unit hotplug framework

2014-09-14 Thread Yijing Wang
On 2014/9/12 10:10, Jiang Liu wrote: > On Intel platforms, an IO Hub (PCI/PCIe host bridge) may contain DMAR > units, so we need to support DMAR hotplug when supporting PCI host > bridge hotplug on Intel platforms. > > According to Section 8.8 "Remapping Hardware Unit Hot Plug" in "Intel > Virtual

Re: [PATCH v4] x86, hotplug: fix llc shared map unreleased during cpu hotplug

2014-09-14 Thread Wanpeng Li
Ping Ingo, HPA, PeterZ 于 14-9-4 下午5:34, Wanpeng Li 写道: Hi Ingo, On Thu, Sep 04, 2014 at 04:56:41PM +0800, Wanpeng Li wrote: On Thu, Sep 04, 2014 at 07:20:34AM +0200, Ingo Molnar wrote: * Wanpeng Li wrote: BUG: unable to handle kernel NULL pointer dereference at 0004 IP: [..] find

Re: [PATCH] f2fs: Fix recover when nid of non-inode dnode < nid of inode

2014-09-14 Thread Huang Ying
On Sun, 2014-09-14 at 00:38 -0700, Jaegeuk Kim wrote: > On Fri, Sep 12, 2014 at 03:34:48PM +0800, Huang Ying wrote: > > On Thu, 2014-09-11 at 22:13 -0700, Jaegeuk Kim wrote: > > > On Thu, Sep 11, 2014 at 08:25:17PM +0800, Huang Ying wrote: > > > > > > > > On Wed, 2014-09-10 at 22:37 -0700, Jaegeuk

Re: [PATCH] kprobes/x86: opt: free optinsn cache when range check fails

2014-09-14 Thread Wang Nan
Hi Ingo and Masami, I still unable to find this bugfix in mainline code. Is there any problem? Thank you! On 2014/8/27 21:37, Masami Hiramatsu wrote: > > Hi Ingo, > > Could you pull this for a bugfix of a memory leak? > > (2014/08/27 21:15), Wang Nan wrote: >> On 2014/7/29 9:43, Masami Hirama

RE: [PATCH 1/4 v3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-14 Thread Chen, Alvin
> > > > > > static int dwapb_gpio_probe(struct platform_device *pdev) { > > > > + int i; > > > > struct resource *res; > > > > struct dwapb_gpio *gpio; > > > > - struct device_node *np; > > > > int err; > > > > - unsigned int offs = 0; > > > > + str

Re: [PATCHv4 0/3] new APIs to allocate buffer-cache with user specific flag

2014-09-14 Thread Joonsoo Kim
On Fri, Sep 05, 2014 at 10:14:16AM -0400, Theodore Ts'o wrote: > On Fri, Sep 05, 2014 at 04:32:48PM +0900, Joonsoo Kim wrote: > > I also test another approach, such as allocate freepage in CMA > > reserved region as late as possible, which is also similar to your > > suggestion and this doesn't wor

Re: cgroups/netfilter : kernel NULL pointer BUG at 00000038

2014-09-14 Thread Li Zefan
I think this is the same bug as the one you reported recently, which has been fixed in mainline. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a4189487da1b4f8260c6006b9dc47c3c4107a5ae On 2014/9/13 0:19, Toralf Förster wrote: > Today I observed within a 32 bit KVM machi

Re: [Patch v4 1/2] freezer: check OOM kill while being frozen

2014-09-14 Thread Tejun Heo
On Sun, Sep 14, 2014 at 06:43:31PM +0200, Rafael J. Wysocki wrote: > On Saturday, September 13, 2014 08:59:35 AM Tejun Heo wrote: > > Doesn't this mean that if PM freezing and OOM killing race each other, > > the system may hang? Driver PM operation may try to allocate memory > > -> triggers OOM -

Re: [RFC 3/3] zram: add swap_get_free hint

2014-09-14 Thread Minchan Kim
On Sat, Sep 13, 2014 at 03:39:13PM -0400, Dan Streetman wrote: > On Thu, Sep 4, 2014 at 7:59 PM, Minchan Kim wrote: > > Hi Heesub, > > > > On Thu, Sep 04, 2014 at 03:26:14PM +0900, Heesub Shin wrote: > >> Hello Minchan, > >> > >> First of all, I agree with the overall purpose of your patch set. >

linux-next: submit the uml tree?

2014-09-14 Thread Stephen Rothwell
Hi Richard, I have noticed that the top commit in the uml tree (git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git#next) dates from January. I was just wondering if this is ever going to make it into Linus' tree. It has only one minor conflict as far as I can see. -- Cheers, Stephen Roth

Re: [RFC 2/3] mm: add swap_get_free hint for zram

2014-09-14 Thread Minchan Kim
On Sat, Sep 13, 2014 at 03:01:47PM -0400, Dan Streetman wrote: > On Wed, Sep 3, 2014 at 9:39 PM, Minchan Kim wrote: > > VM uses nr_swap_pages as one of information when it does > > anonymous reclaim so that VM is able to throttle amount of swap. > > > > Normally, the nr_swap_pages is equal to free

RE: [PATCH v3 0/5] Firmware-assisted suspend/resume of Exynos SoCs

2014-09-14 Thread Kukjin Kim
Tomasz Figa wrote: > > Hi Kukjin, > Hi, > On 26.08.2014 16:10, Tomasz Figa wrote: > > On Exynos-based boards running secure firmware the sequence of low level > > operations to enter and leave system-wide sleep mode is different than > > on those without the firmware. Namely: > > - CP15 power c

Re: [PATCH 00/10] implement zsmalloc shrinking

2014-09-14 Thread Minchan Kim
On Fri, Sep 12, 2014 at 01:05:11PM -0400, Dan Streetman wrote: > On Fri, Sep 12, 2014 at 1:46 AM, Minchan Kim wrote: > > On Thu, Sep 11, 2014 at 04:53:51PM -0400, Dan Streetman wrote: > >> Now that zswap can use zsmalloc as a storage pool via zpool, it will > >> try to shrink its zsmalloc zs_pool

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-14 Thread One Thousand Gnomes
> The base of the bounds directory is set into mm_struct during > PR_MPX_REGISTER command execution. This member can be used to > check whether one application is mpx enabled. Not really because by the time you ask the question another thread might have decided to unregister it. > +int mpx_regis

Re: [PATCH/RFC] rtc: rtc-twl: Fixed nested IRQ handling in resume from suspend

2014-09-14 Thread Laurent Pinchart
Hi Thomas, On Saturday 13 September 2014 21:12:16 Thomas Gleixner wrote: > On Sat, 13 Sep 2014, Laurent Pinchart wrote: > > The TWL RTC interrupt is a double-nested threaded interrupt, handled > > through the TWL SIH (Secondary Interrupt Handler) and PIH (Primary > > Interrupt Handler). > > > > W

Re: bit fields && data tearing

2014-09-14 Thread One Thousand Gnomes
> So a problem that no one has ever complained about on _any_ arch is suddenly > a problem on a subset of Alpha cpus, but a problem I know exists on Alpha > isn't important because no one's filed a bug about it? Yes - because if you think about it that tells you that nobody is hitting it with the

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-14 Thread Minchan Kim
On Fri, Sep 12, 2014 at 12:43:22PM -0400, Dan Streetman wrote: > On Fri, Sep 12, 2014 at 12:59 AM, Minchan Kim wrote: > > On Thu, Sep 11, 2014 at 04:53:52PM -0400, Dan Streetman wrote: > >> When zsmalloc creates a new zspage, it initializes each object it contains > >> with a link to the next obje

Re: [PATCHv2] zram: use notify_free to account all free notifications

2014-09-14 Thread Minchan Kim
Hi Sergey, On Sat, Sep 13, 2014 at 12:52:14PM +0900, Sergey Senozhatsky wrote: > notify_free device attribute accounts the number of slot free notifications > and internally represents the number of zram_free_page() calls. Slot free > notifications are sent only when device is used as a swap devic

Re: [PATCH 0/9 linux-next] drivers/gpu/drm: use container_of where possible

2014-09-14 Thread One Thousand Gnomes
On Sun, 14 Sep 2014 18:40:13 +0200 Fabian Frederick wrote: > Small patchset using container_of instead of casting on first structure > member address. Why. Container_of is useful for random offsets but its just convoluting and confusing code which is designed with the fields intentionally at th

Re: 3.15 Regression Due to goldfish bus Commit

2014-09-14 Thread One Thousand Gnomes
On Sun, 14 Sep 2014 14:57:37 -0700 Greg Kroah-Hartman wrote: > On Sun, Sep 14, 2014 at 05:38:55PM -0400, Mark S wrote: > > Commit c1bc97f8f498a2bfab63ceef761fb0e88ef7c065 causes a gateway x86 laptop, > > booting from a usb device, to hang before the kernel completes booting. The > > offending com

RE: [PATCH] scsi: scsi_devinfo.c: Cleaning up unnecessarily complicated in conjunction with strncpy

2014-09-14 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: Rickard Strandqvist [mailto:rickard_strandqv...@spectrumdigital.se] > How do you mean? > > strncpy zeroes throughout the remainder of the string "from" until the > length off to_length, or otherwise guaranteed trailing zero characters > and a warning is print

Re: [PATCH 09/10] f2fs: use MAX_BIO_BLOCKS(sbi)

2014-09-14 Thread Joe Perches
On Sun, 2014-09-14 at 15:14 -0700, Jaegeuk Kim wrote: > This patch cleans up a simple macro. There seems to be many different types used here. MAX_BIO_BLOCKS returns unsigned int bio_blocks is int, blocks_per_seg is unsigned int, ra_meta_pages(,,int,) nr_pa

[PATCH 04/10] f2fs: give an option to enable in-place-updates during fsync to users

2014-09-14 Thread Jaegeuk Kim
If user wrote F2FS_IPU_FSYNC:4 in /sys/fs/f2fs/ipu_policy, f2fs_sync_file only starts to try in-place-updates. And, if the number of dirty pages is over /sys/fs/f2fs/min_fsync_blocks, it keeps out-of-order manner. Otherwise, it triggers in-place-updates. This may be used by storage showing very hi

[PATCH 03/10] f2fs: expand counting dirty pages in the inode page cache

2014-09-14 Thread Jaegeuk Kim
Previously f2fs only counts dirty dentry pages, but there is no reason not to expand the scope. This patch changes the names on the management of dirty pages and to count dirty pages in each inode info as well. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 10 ++ fs/f2fs/data.c

[PATCH 05/10] f2fs: fix roll-forward missing scenarios

2014-09-14 Thread Jaegeuk Kim
We can summarize the roll forward recovery scenarios as follows. [Term] F: fsync_mark, D: dentry_mark 1. inode(x) | CP | inode(x) | dnode(F) -> Update the latest inode(x). 2. inode(x) | CP | inode(F) | dnode(F) -> No problem. 3. inode(x) | CP | dnode(F) | inode(x) -> Recover to the latest dnode

[PATCH 09/10] f2fs: use MAX_BIO_BLOCKS(sbi)

2014-09-14 Thread Jaegeuk Kim
This patch cleans up a simple macro. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 2 +- fs/f2fs/node.c | 2 +- fs/f2fs/recovery.c | 4 ++-- fs/f2fs/segment.c | 2 +- fs/f2fs/segment.h | 8 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2

[PATCH 07/10] f2fs: use meta_inode cache to improve roll-forward speed

2014-09-14 Thread Jaegeuk Kim
Previously, all the dnode pages should be read during the roll-forward recovery. Even worsely, whole the chain was traversed twice. This patch removes that redundant and costly read operations by using page cache of meta_inode and readahead function as well. Signed-off-by: Jaegeuk Kim --- fs/f2f

[PATCH 08/10] f2fs: remove redundant operation during roll-forward recovery

2014-09-14 Thread Jaegeuk Kim
If same data is updated multiple times, we don't need to redo whole the operations. Let's just update the lastest one. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 4 +++- fs/f2fs/recovery.c | 41 + 2 files changed, 20 insertions(+), 25 deletions(-

[PATCH 06/10] f2fs: do not skip latest inode information

2014-09-14 Thread Jaegeuk Kim
In f2fs_sync_file, if there is no written appended writes, it skips to write its node blocks. But, if there is up-to-date inode page, we should write it to update its metadata during the roll-forward recovery. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 11 ++- 1 file changed, 10 ins

[PATCH 10/10] f2fs: fix double lock for inode page during roll-foward recovery

2014-09-14 Thread Jaegeuk Kim
If the inode is same and its data index are needed to truncate, we can fall into double lock for its inode page via get_dnode_of_data. Error case is like this. 1. write data 1, 2, 3, 4, 5 in inode #4. 2. write data 100, 102, 103, 104, 105 in dnode #6 of inode #4. 3. sync 4. update data 100->106 i

Re: [PATCH] scsi: scsi_devinfo.c: Cleaning up unnecessarily complicated in conjunction with strncpy

2014-09-14 Thread Rickard Strandqvist
2014-09-14 23:34 GMT+02:00 Elliott, Robert (Server Storage) : > > >> -Original Message- >> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- >> ow...@vger.kernel.org] On Behalf Of Rickard Strandqvist > ... >> diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c >

[PATCH 02/10] f2fs: remove lengthy inode->i_ino

2014-09-14 Thread Jaegeuk Kim
This patch is to remove lengthy name by adding a new variable. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 5cde363..77426c7 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c

[PATCH 01/10] f2fs: fix negative value for lseek offset

2014-09-14 Thread Jaegeuk Kim
If application throws negative value of lseek with SEEK_DATA|SEEK_HOLE, previous f2fs went into BUG_ON in get_dnode_of_data, which was reported by Tommi Rantala. He could make a simple code to detect this having: lseek(fd, -17595150933902LL, SEEK_DATA); This patch should resolve that bug.

Re: [PATCH 05/13] eeepc-laptop: use DEVICE_ATTR to instantiate device_attributes

2014-09-14 Thread Frans Klaver
On Fri, Sep 12, 2014 at 04:28:51PM -0700, Greg Kroah-Hartman wrote: > On Sat, Sep 13, 2014 at 01:06:44AM +0200, Frans Klaver wrote: > > Signed-off-by: Frans Klaver > > --- > > drivers/platform/x86/eeepc-laptop.c | 35 > > +-- > > 1 file changed, 5 insertions(+), 3

Re: [PATCH v3 02/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2014-09-14 Thread Catalin Marinas
On 14 Sep 2014, at 16:40, Grant Likely wrote: > On Thu, 11 Sep 2014 12:01:46 +0100, Catalin Marinas > wrote: >> On Wed, Sep 10, 2014 at 10:51:30PM +0100, Grant Likely wrote: >>> On Wed, 10 Sep 2014 13:33:52 +0100, Catalin Marinas >>> wrote: On Wed, Sep 10, 2014 at 12:13:51PM +0100, Hanjun

Re: 3.15 Regression Due to goldfish bus Commit

2014-09-14 Thread Greg Kroah-Hartman
On Sun, Sep 14, 2014 at 05:38:55PM -0400, Mark S wrote: > Commit c1bc97f8f498a2bfab63ceef761fb0e88ef7c065 causes a gateway x86 laptop, > booting from a usb device, to hang before the kernel completes booting. The > offending commit was found using git bisect. Reverting the commit fixes the > proble

[PATCH] scsi: qla2xxx: qla_mr.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-09-14 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist --- drivers/scsi/qla2xxx/qla_mr.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index

[PATCH] scsi: qla2xxx: qla_gs.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-09-14 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist --- drivers/scsi/qla2xxx/qla_gs.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/

RE: [PATCH] scsi: scsi_devinfo.c: Cleaning up unnecessarily complicated in conjunction with strncpy

2014-09-14 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Rickard Strandqvist ... > diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c ... > static void scsi_strcpy_devinfo(char *name, char *to, size_t to_l

[PATCH] scsi: scsi_devinfo.c: Cleaning up unnecessarily complicated in conjunction with strncpy

2014-09-14 Thread Rickard Strandqvist
I have revamped the code so it becomes both more effective and far more clear. Signed-off-by: Rickard Strandqvist --- drivers/scsi/scsi_devinfo.c | 31 +++ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scs

Re: [PATCH 3/5] drivers: uio: Add Xgene QMTM UIO driver

2014-09-14 Thread Russell King - ARM Linux
On Tue, Sep 09, 2014 at 03:26:57PM +0530, Ankit Jindal wrote: > diff --git a/drivers/uio/uio_xgene_qmtm.c b/drivers/uio/uio_xgene_qmtm.c ... > +/* QMTM CSR read/write routine */ > +static inline void qmtm_csr_write(struct uio_qmtm_dev *qmtm_dev, u32 offset, > + u32 data) > +{ > + vo

Re: [PATCH 0/3] Implement /proc/built-in file similar to /proc/modules

2014-09-14 Thread Oleg Nesterov
On 09/14, Kirill Tkhai wrote: > > On 14.09.2014 21:27, Oleg Nesterov wrote: > > > > That said, I do not really understand 2/3. Not only I do not understand > > this kbuild magic, I am not sure I understand what /proc/built-in will > > actually show. > > It's a list of drivers, one driver per line:

  1   2   3   >