Re: [RESEND] x86: numa: setup_node_data(): drop dead code and rename function

2014-09-15 Thread Ingo Molnar
* Luiz Capitulino wrote: > The setup_node_data() function allocates a pg_data_t object, inserts it > into the node_data[] array and initializes the following fields: node_id, > node_start_pfn and node_spanned_pages. Applied to the tip:x86/mm tree for v3.18 integration. Thanks, Ingo --

Re: What are the official opinions of the developers about develop currently code in binary, hexadecimal and assembly code?

2014-09-15 Thread Clemens Ladisch
françai s wrote: > The official opinions of the developers "The developers" is not a uniform group that could hold a coherent opinion, let alone an "official" one. > is currently necessary develop code in binary, hexadecimal and > assembly code? It is usually not the preferred form for making mo

Re: [PATCH] x86: Consider multiple nodes in a single socket to be "sane"

2014-09-15 Thread Chuck Ebbert
On Tue, 16 Sep 2014 05:29:20 +0200 Peter Zijlstra wrote: > On Mon, Sep 15, 2014 at 03:26:41PM -0700, Dave Hansen wrote: > > > > I'm getting the spew below when booting with Haswell (Xeon > > E5-2699) CPUs and the "Cluster-on-Die" (CoD) feature enabled in > > the BIOS. > > What is that cluster-

[RFC Part2 v1] x86, irq: Refine mp_register_ioapic() to prepare for IOAPIC hotplug

2014-09-15 Thread Jiang Liu
Refine mp_register_ioapic() to prepare for IOAPIC hotplug by: 1) change return value from void to int. 2) check for gsi range conflicts 3) check for IOAPIC physical address conflicts 4) enhance the way to allocate IOAPIC index Signed-off-by: Jiang Liu --- Hi Thomas, I have fixed docbook i

[RFC] arm:fdt:free the fdt reserved memory

2014-09-15 Thread Wang, Yalin
this patch make some change to fdt driver, so that we can free the reserved memory which is reserved by fdt blob for unflatten device tree, we free it in free_initmem, this memory will not be used after init calls. Signed-off-by: Yalin Wang --- arch/arm/mm/init.c | 5 +++-- arch/arm64/mm/in

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

2014-09-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the llvmlinux tree got a conflict in Makefile between commit 19a3cc83353e ("Kbuild, lto: Add Link Time Optimization support v3") from the kbuild tree and commit 6d9203642de6 ("kbuild, LLVMLinux: Add better clang cross build support") from the llvmlinux tree. I

Re: [PATCH] x86: Consider multiple nodes in a single socket to be "sane"

2014-09-15 Thread Ingo Molnar
* Chuck Ebbert wrote: > On Tue, 16 Sep 2014 05:29:20 +0200 > Peter Zijlstra wrote: > > > On Mon, Sep 15, 2014 at 03:26:41PM -0700, Dave Hansen wrote: > > > > > > I'm getting the spew below when booting with Haswell (Xeon > > > E5-2699) CPUs and the "Cluster-on-Die" (CoD) feature > > > enabl

ACPI: Add interfaces to parse IOAPIC ID for IOAPIC hotplug

2014-09-15 Thread Jiang Liu
From: Yinghai Lu We need to parse APIC ID for IOAPIC registration for IOAPIC hotplug. ACPI _MAT method and MADT table are used to figure out IOAPIC ID, just like parsing CPU APIC ID for CPU hotplug. Signed-off-by: Yinghai Lu Signed-off-by: Jiang Liu --- Hi Thomas, I have fixed the docb

Re: [PATCH 0/5] Add dt support for extcon gpio driver

2014-09-15 Thread George Cherian
Hi Chanwoo, Could you please look into this series? On 09/09/2014 09:44 AM, George Cherian wrote: This series - Convert extcon-gpio driver to use gpiod_* API's - Adds dt support to extcon-gpio driver. - Add cable name support in case of dt. George Cherian (5): extc

Re: [PATCH v4 1/3] ahci-platform: Bump max number of clocks to 5

2014-09-15 Thread Hans de Goede
Hi, On 09/16/2014 04:09 AM, Kumar Gala wrote: > > On Sep 9, 2014, at 8:36 AM, Kumar Gala wrote: > >> Qualcomm IPQ806x SoCs with SATA controllers need 5 clocks to be enabled. >> >> Signed-off-by: Kumar Gala >> --- >> (reposted with Hans on list) >> >> v4: >> * Updated to upstream changes >> >>

Re: [PATCH] x86/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n

2014-09-15 Thread Ingo Molnar
* Martin Kelly wrote: > When compiling with CONFIG_DEBUG_FS=n, gcc emits an unused variable > warning for pmc_atom.c because "ret" is used only within the > CONFIG_DEBUG_FS block. This patch fixes it up to eliminate "ret" when > CONFIG_DEBUG_FS=n. > > Signed-off-by: Martin Kelly > --- > arch/

Re: [PATCH 6/6] usb: dwc3: host: convey the PHYs to xhci

2014-09-15 Thread Kishon Vijay Abraham I
Hi, On Monday 15 September 2014 05:36 PM, Heikki Krogerus wrote: > On Fri, Sep 12, 2014 at 07:41:56PM +0530, Kishon Vijay Abraham I wrote: I don't think create lookup should be in host init. If it's dt boot, the binding should be in dt data or for other boot modes the bindig should be >

Re: [tip:x86/seccomp] seccomp,x86,arm,mips,s390: Remove nr parameter from secure_computing

2014-09-15 Thread Ingo Molnar
* tip-bot for Andy Lutomirski wrote: > Commit-ID: a4412fc9486ec85686c6c7929e7e829f62ae377e > Gitweb: http://git.kernel.org/tip/a4412fc9486ec85686c6c7929e7e829f62ae377e > Author: Andy Lutomirski > AuthorDate: Mon, 21 Jul 2014 18:49:14 -0700 > Committer: Kees Cook > CommitDate: Wed, 3

Re: [PATCH] staging: dgap: use schedule_timeout_interruptible() instead of dgap_ms_sleep()

2014-09-15 Thread Dan Carpenter
On Tue, Sep 16, 2014 at 12:33:33PM +0900, Daeseok Youn wrote: > @@ -2297,12 +2273,12 @@ static void dgap_tty_close(struct tty_struct *tty, > struct file *file) >* Go to sleep to ensure RTS/DTR >* have been dropped for modems to see it. >

Re: [PATCH RFC] memcg: revert kmem.tcp accounting

2014-09-15 Thread Tejun Heo
Hello, Andrew. On Fri, Sep 12, 2014 at 02:43:26PM -0700, Andrew Morton wrote: > 17 files changed, 51 insertions(+), 761 deletions(-) > > Sob. > > Is there a convenient way of disabling the whole thing and adding a > please-tell-us printk? If nobody tells us for a year or two then zap. Given th

Re: [RFC PATCH for AMD Seattle 0/4] Drivers for AMD-Seatlle to boot from ACPI

2014-09-15 Thread Suravee Suthikulpanit
Note: Correcting the typo for linux-acpi mailing list in this reply. Also, I would like to add the link to the "AMD Opteron™ A1100 Series Processor ACPI Porting Guide", which describes the current ACPI table for AMD Seattle platform here: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media

Re: [PATCH RFC] memcg: revert kmem.tcp accounting

2014-09-15 Thread Tejun Heo
Hello, Vladimir. On Mon, Sep 15, 2014 at 11:42:57AM +0400, Vladimir Davydov wrote: > > So, I'd love to see this happen too but I don't think we can do this. > > People use published interface. The usages might be utterly one-off > > and mental but let's please not underestimate the sometimes sens

Re: [PATCH v16 1/7] mm: support madvise(MADV_FREE)

2014-09-15 Thread SeongJae Park
Hi Minchan, On Mon, Sep 1, 2014 at 4:20 PM, Minchan Kim wrote: > Linux doesn't have an ability to free pages lazy while other OS > already have been supported that named by madvise(MADV_FREE). > > The gain is clear that kernel can discard freed pages rather than > swapping out or OOM if memory pr

Re: [PATCH 3.13 073/187] x86, ia64: Move EFI_FB vga_default_device() initialization to pci_vga_fixup()

2014-09-15 Thread Bruno Prémont
Hi Kamel, On Mon, 15 Sep 2014 15:08:03 -0700 Kamal Mostafa wrote: > 3.13.11.7 -stable review patch. If anyone has any objections, please let me > know. As mentioned to Greg for 3.16 (and 3.14, 3.10) stable trees, please postpone this patch until its regression fix for dual-GPU Macs can be appli

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

2014-09-15 Thread Tejun Heo
Hello, Michal. On Mon, Sep 15, 2014 at 04:28:21PM +0200, Michal Hocko wrote: > > Are we gonna introduce an alternate versions for all of them? > > Are they intended for kernel threads in the first place? The primary There's no restriction in using them and I'm pretty sure some of them are used b

[PATCH 4/4] NFS/SUNRPC: Remove other deadlock-avoidance mechanisms in nfs_release_page()

2014-09-15 Thread NeilBrown
Now that nfs_release_page() doesn't block indefinitely, other deadlock avoidance mechanisms aren't needed. - it doesn't hurt for kswapd to block occasionally. If it doesn't want to block it would clear __GFP_WAIT. The current_is_kswapd() was only added to avoid deadlocks and we have a new

[PATCH 2/4] MM: export page_wakeup functions

2014-09-15 Thread NeilBrown
This will allow NFS to wait for PG_private to be cleared and, particularly, to send a wake-up when it is. Signed-off-by: NeilBrown --- include/linux/pagemap.h | 10 -- mm/filemap.c|8 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/include/linux

[PATCH 1/4] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-15 Thread NeilBrown
In commit c1221321b7c25b53204447cff9949a6d5a7c sched: Allow wait_on_bit_action() functions to support a timeout I suggested that a "wait_on_bit_timeout()" interface would not meet my need. This isn't true - I was just over-engineering. Including a 'private' field in wait_bit_key instead o

[PATCH 3/4] NFS: avoid deadlocks with loop-back mounted NFS filesystems.

2014-09-15 Thread NeilBrown
Support for loop-back mounted NFS filesystems is useful when NFS is used to access shared storage in a high-availability cluster. If the node running the NFS server fails, some other node can mount the filesystem and start providing NFS service. If that node already had the filesystem NFS mounted

[PATCH 0/4] Remove possible deadlocks in nfs_release_page()

2014-09-15 Thread NeilBrown
Because nfs_release_page() submits a 'COMMIT' nfs request and waits for it to complete, and does this during memory reclaim, it is susceptible to deadlocks if memory allocation happens anywhere in sending the COMMIT message. If the NFS server is on the same host (i.e. loop-back NFS), then any memo

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

2014-09-15 Thread Zheng, Lv
Hi, > From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of Grant Likely > Sent: Thursday, September 11, 2014 5:52 AM > > On Wed, 10 Sep 2014 13:33:52 +0100, Catalin Marinas > wrote: > > On Wed, Sep 10, 2014 at 12:13:51PM +0100, Hanjun Guo wrote: > > > On 2014/9/10 3:06, Jon Masters wro

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

2014-09-15 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

[RFC resend] arm:change keep_initrd and free_initrd_mem into .init section

2014-09-15 Thread Wang, Yalin
this patch change keep_initrd to __initdata section, and free_initrd_mem to __init section so that they can be freed by free_initmem, free_initrd_mem is only called by free_initrd function, so it's safe to free it after use. Signed-off-by: Yalin Wang --- arch/arm/mm/init.c | 4 ++-- arch/arm64

Re: [PATCH 3.14 103/114] CIFS: Fix directory rename error

2014-09-15 Thread Pavel Shilovsky
2014-09-15 23:26 GMT+04:00 Greg Kroah-Hartman : > 3.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Pavel Shilovsky > > commit a07d322059db66b84c9eb4f98959df468e88b34b upstream. > > CIFS servers process nlink counts differently for files

Re: [PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-15 Thread Felipe Balbi
Hi, On Tue, Sep 16, 2014 at 10:02:25AM +0800, Peter Chen wrote: > On Mon, Sep 15, 2014 at 12:42:27PM +0200, Andreas Larsson wrote: > > The state attribute is connected to the kobj of the udc, not the gadget. > > > > Signed-off-by: Andreas Larsson > > --- > > drivers/usb/gadget/udc/udc-core.c |

[RFC] change keep_initrd and free_initrd_mem into .init section

2014-09-15 Thread Wang, Yalin
this patch change keep_initrd to __initdata section, and free_initrd_mem to __init section so that they can be freed by free_initmem, free_initrd_mem is only called by free_initrd function, so it's safe to free it after use. Signed-off-by: Yalin Wang --- arch/arm/mm/init.c | 4 ++-- arch/arm64

Re: [PATCH v2] pci/probe: Enable CRS for root port if it is supported

2014-09-15 Thread Rajat Jain
Hi Bjorn, On Mon, Sep 8, 2014 at 10:38 PM, Bjorn Helgaas wrote: > On Tue, Sep 02, 2014 at 04:26:00PM -0700, Rajat Jain wrote: >> >> As per the PCIe spec, an endpoint may return the configuration cycles >> with CRS if it is not yet fully ready to be accessed. If the CRS visibility >> is not enable

Re: [PATCH v2 0/7] mtd: denali: A collection of trivial coding style fixes

2014-09-15 Thread Brian Norris
Hi Masahiro, On Tue, Sep 16, 2014 at 11:11:58AM +0900, Masahiro Yamada wrote: > On Mon, 15 Sep 2014 17:36:20 -0700 Brian Norris > wrote: > > On Tue, Sep 09, 2014 at 11:01:50AM +0900, Masahiro Yamada wrote: > > > Changes in v2: > > > - Join quotes strings into a single line > > > > > > Masahir

[PATCH v3 1/3] phy: exynos-dp-video: Use syscon support to control pmu register

2014-09-15 Thread Vivek Gautam
Currently the DP_PHY_ENABLE register is mapped in the driver, and accessed to control power to the PHY. With mfd-syscon and regmap interface available at our disposal, it's wise to use that instead of using a 'reg' property for the controller and allocating a memory resource for that. To facilitat

[PATCH] MAINTAINERS: add l2-mtd.git, 'next' tree for MTD

2014-09-15 Thread Brian Norris
We've been semi-officially queueing patches here for a while, and it's in linux-next, so let's advertise it in MAINTAINERS. Signed-off-by: Brian Norris --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 809ecd680d88..55a61f242991 100644 --- a/MAIN

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-15 Thread Scott Wood
On Mon, 2014-09-15 at 18:44 -0500, Kim Phillips wrote: > On Thu, 11 Sep 2014 12:34:21 -0500 > "J. German Rivera" wrote: > > > +int mc_get_version(struct fsl_mc_io *mc_io, struct mc_version *mc_ver_info) > > +{ > > + struct mc_command cmd = { 0 }; > > we can save some cycles if this initializat

[PATCH] x86/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n

2014-09-15 Thread Martin Kelly
When compiling with CONFIG_DEBUG_FS=n, gcc emits an unused variable warning for pmc_atom.c because "ret" is used only within the CONFIG_DEBUG_FS block. This patch fixes it up to eliminate "ret" when CONFIG_DEBUG_FS=n. Signed-off-by: Martin Kelly --- arch/x86/kernel/pmc_atom.c | 2 ++ 1 file chan

[PATCH] context_tracking: Fix checkpatch warnings

2014-09-15 Thread Martin Kelly
checkpatch emits several warnings for context_tracking.c, which are fixed in this patch: - No space after "(" - Lines longer than 80 characters Signed-off-by: Martin Kelly --- kernel/context_tracking.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions

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

2014-09-15 Thread Dave Hansen
On 09/15/2014 08:20 PM, Ren, Qiaowei wrote: >> What are the semantics across execve() ? >> > This will not impact on the semantics of execve(). One runtime > library > for MPX will be provided (or merged into Glibc), and when the > application starts, this runtime will be called to initialize MPX

[PATCH] Staging/bcm: Fix whitespace/comments in Ioctl.h

2014-09-15 Thread Martin Kelly
Cleanup whitespace and comments in Ioctl.h in a few ways: - > 80 character cleanup - Comment clarification - More consistent vertical alignment Signed-off-by: Martin Kelly --- drivers/staging/bcm/Ioctl.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --g

Re: [PATCH] powerpc: Fix build failure

2014-09-15 Thread Alistair Popple
Thanks for fixing these! Acked-by: Alistair Popple On Thu, 21 Aug 2014 09:04:31 Pranith Kumar wrote: > Fix the following build failure > > drivers/built-in.o: In function `nhi_init': > nhi.c:(.init.text+0x63390): undefined reference to `ehci_init_driver' > > by adding a dependency on USB_EHCI_

Re: [PATCH] powerpc: Fix build failure when CONFIG_USB=y

2014-09-15 Thread Alistair Popple
Thanks for fixing these! Acked-by: Alistair Popple On Thu, 21 Aug 2014 09:16:04 Pranith Kumar wrote: > We are enabling USB unconditionally which results in following build failure > > drivers/built-in.o: In function `tb_drom_read': > (.text+0x1b62b70): undefined reference to `usb_speed_string'

[PATCH v2 1/3] phy: exynos-dp-video: Use syscon support to control pmu register

2014-09-15 Thread Vivek Gautam
Currently the DP_PHY_ENABLE register is mapped in the driver, and accessed to control power to the PHY. With mfd-syscon and regmap interface available at our disposal, it's wise to use that instead of using a 'reg' property for the controller and allocating a memory resource for that. To facilitat

Re: [f2fs-dev][PATCH 4/5] f2fs: fix to clean previous mount option when remount_fs

2014-09-15 Thread Gu Zheng
On 09/16/2014 11:05 AM, Chao Yu wrote: > Hi Gu, > >> -Original Message- >> From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] >> Sent: Tuesday, September 16, 2014 9:51 AM >> To: Chao Yu >> Cc: Jaegeuk Kim; Changman Lee; linux-f2fs-de...@lists.sourceforge.net; >> linux-kernel@vger.kernel.org

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

2014-09-15 Thread Mike Galbraith
On Mon, 2014-09-15 at 10:44 -0600, Toshi Kani wrote: > On Mon, 2014-09-15 at 06:25 +0200, Mike Galbraith wrote: > > 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? > > >

[PATCH firmware RESEND] rtl_nic: add firmware for RTL8168H and RTL8107E

2014-09-15 Thread Hayes Wang
File: rtl_nic/rtl8168h-1.fw Version: 0.0.1 File: rtl_nic/rtl8168h-2.fw Version: 0.0.1 File: rtl_nic/rtl8107e-1.fw Version: 0.0.1 File: rtl_nic/rtl8107e-2.fw Version: 0.0.1 Signed-off-by: Hayes Wang --- WHENCE| 12 rtl_nic/rtl8107e-1.fw | Bin 0 -> 2496 bytes rtl_

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-15 Thread Robin Gong
On Mon, Sep 15, 2014 at 01:50:02PM +0200, Alexander Holler wrote: > Am 10.09.2014 07:30, schrieb Robin Gong: > >There is one weird data in rxfifo after one full rx/tx transfer > >done sometimes. It looks a design issue and hard to workaround > >totally, so disable dma functhion here. And will re-en

[PATCH net] r8169: adjust __rtl8169_set_features

2014-09-15 Thread Hayes Wang
Remove the "changed" test in __rtl8169_set_features(). Instead, do simple test in rtl8169_set_features(). Set the RxChkSum and RxVlan through __rtl8169_set_features() in rtl_open(). Signed-off-by: Francois Romieu Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 74 +

Re: Request to include Mailbox tree in linux-next

2014-09-15 Thread Jassi Brar
On 8 August 2014 08:58, Stephen Rothwell wrote: > Hi Jassi, > > On Fri, 8 Aug 2014 20:40:47 +0530 Jassi Brar > wrote: >> >> On 8 August 2014 20:11, Russell King - ARM Linux >> wrote: >> >> Upon Mark's suggestion (and the right thing to do) I wanted the patchset >> >> to live the cycle in linux

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-15 Thread Robin Gong
Hi Lucas, I understood your concern,but looks we have to break old DT. Our old DT support SPI DMA on i.mx6q/dl(v2,b3810c3dc1bcbc6a), but the DMA support patch for SPI driver is still in reviewing(v6). So the violation you mentioned comes if someone use the DT during the time(from v2 to spi driver

[PATCH] staging: dgap: use schedule_timeout_interruptible() instead of dgap_ms_sleep()

2014-09-15 Thread Daeseok Youn
Using schedule_timeout_interruptible() is exactly same as setting a status of current process and calling schedule_timeout(). Removes dgap_ms_sleep(), because this function is used only when closing tty channel on dgap_tty_close(). And also removes ch_close_delay that is always set to 250 on dgap

Re: [PATCH] x86: Consider multiple nodes in a single socket to be "sane"

2014-09-15 Thread Peter Zijlstra
On Mon, Sep 15, 2014 at 03:26:41PM -0700, Dave Hansen wrote: > > I'm getting the spew below when booting with Haswell (Xeon > E5-2699) CPUs and the "Cluster-on-Die" (CoD) feature enabled in > the BIOS. What is that cluster-on-die thing? I've heard it before but never could find anything on it.

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

2014-09-15 Thread Hayes Wang
From: Francois Romieu [mailto:rom...@fr.zoreil.com] > Sent: Tuesday, September 16, 2014 8:03 AM [...] > However it's getting messy and the code stomps CPlusCmd in > rtl_open right > before it's given a chance to be read in hw_start. Something like the > untested patch below should avoid it and k

Re: [PATCH 1/1] checkpatch: check for subject uniqueness in git repository.

2014-09-15 Thread Joe Perches
On Mon, 2014-09-15 at 20:43 +0200, Fabian Frederick wrote: > Adding patch subject uniqueness check in checkpatch --strict mode. > See Documentation/SubmittingPatches/globally-unique identifier. Perhaps something like this? --- scripts/checkpatch.pl | 52 +++

Re: Status of 'cris' architecture support in Linux kernel

2014-09-15 Thread Guenter Roeck
On Mon, Sep 15, 2014 at 11:30:07AM -0700, Guenter Roeck wrote: > On Mon, Sep 15, 2014 at 05:49:49PM +0200, Hans-Peter Nilsson wrote: > > Following up on Jesper's reply... > > > > > From: Jesper Nilsson > > > Date: Mon, 15 Sep 2014 16:52:03 +0200 > > > > > > Toolchain > > > > > > > > Creating a

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

2014-09-15 Thread Ren, Qiaowei
On 2014-09-15, One Thousand Gnomes wrote: >> 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 > mi

Re: [PATCH v5 11/12] sched: replace capacity_factor by utilization

2014-09-15 Thread Peter Zijlstra
On Mon, Sep 15, 2014 at 03:07:44PM -0400, Nicolas Pitre wrote: > On Mon, 15 Sep 2014, Peter Zijlstra wrote: > Let's suppose a task running on a 1GHz CPU producing a load of 100. > > The same task on a 100MHz CPU would produce a load of 1000 because that > CPU is 10x slower. So to properly evalu

RE: [f2fs-dev][PATCH 4/5] f2fs: fix to clean previous mount option when remount_fs

2014-09-15 Thread Chao Yu
Hi Gu, > -Original Message- > From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] > Sent: Tuesday, September 16, 2014 9:51 AM > To: Chao Yu > Cc: Jaegeuk Kim; Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH 4/5] f2fs: fix to

[PATCH v2 RESEND/RFC] timer: make deferrable cpu unbound timers really not bound to a cpu

2014-09-15 Thread Joonwoo Park
When a deferrable work (INIT_DEFERRABLE_WORK, etc.) is queued via queue_delayed_work() it's probably intended to run the work item on any CPU that isn't idle. However, we queue the work to run at a later time by starting a deferrable timer that binds to whatever CPU the work is queued on which is s

[RFC PATCH for AMD Seattle 0/4] Drivers for AMD-Seatlle to boot from ACPI

2014-09-15 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit As a follow up of the email thread: [PATCH v3 00/17] Introduce ACPI for ARM64 based on ACPI 5.1 https://lkml.org/lkml/2014/9/1/446 Besides Hanjun Guo's patches above, these are the additional patches required to boot AMD Seattle platform with full ACPI suppor

Re: [PATCH v3 16/17] arcmsr: support new adapter ARC12x4 series

2014-09-15 Thread Ching Huang
On Mon, 2014-09-15 at 10:05 -0700, Christoph Hellwig wrote: > On Mon, Sep 15, 2014 at 03:23:36PM +0200, Tomas Henzl wrote: > > Christoph, > > > > you may add my 'reviewed-by' to the arcmsr series > > http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr > > wi

Re: [PATCH] zsmalloc: simplify init_zspage free obj linking

2014-09-15 Thread Minchan Kim
On Mon, Sep 15, 2014 at 04:58:50PM -0400, Dan Streetman wrote: > Change zsmalloc init_zspage() logic to iterate through each object on > each of its pages, checking the offset to verify the object is on the > current page before linking it into the zspage. > > The current zsmalloc init_zspage free

Re: [PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-09-15 Thread Andy Gross
On Tue, Aug 26, 2014 at 05:00:45PM +0530, Kiran Padwal wrote: > This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. > It also adds necessary DT support for i2c eeprom which is present on > IFC6410. > > Tested on IFC6410 board. Looks fine > > Signed-off-by: Kiran Padwal > --- > Ch

[PULL] virtio fixes

2014-09-15 Thread Rusty Russell
The following changes since commit 7ec62d421bdf29cb31101ae2689f7f3a9906289a: Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs (2014-09-10 14:04:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linu

Re: [PATCH 1/3] virtio_net: pass well-formed sgs to virtqueue_add_*()

2014-09-15 Thread Rusty Russell
David Miller writes: > From: Rusty Russell > Date: Sat, 13 Sep 2014 15:10:03 +0930 > >> David Miller writes: >>> Do you guys want me to take this series directly into net-next? >> >> Actually, yes. Since I'm going to be travelling, that makes it much >> easier for me. And no other patches I h

[PATCH 3/4] efi/arm64: fix fdt-related memory reservation

2014-09-15 Thread suravee.suthikulpanit
From: Mark Salter Commit 86c8b27a01cf: "arm64: ignore DT memreserve entries when booting in UEFI mode prevents early_init_fdt_scan_reserved_mem() from being called for arm64 kernels booting via UEFI. This was done because the kernel will use the UEFI memory map to determine reserved memory regi

[PATCH 2/4] arm64/efi: efistub: don't abort if base of DRAM is occupied

2014-09-15 Thread suravee.suthikulpanit
From: Ard Biesheuvel If we cannot relocate the kernel Image to its preferred offset of base of DRAM plus TEXT_OFFSET, instead relocate it to the lowest available 2 MB boundary plus TEXT_OFFSET. We may lose a bit of memory at the low end, but we can still proceed normally otherwise. Acked-by: Mar

[PATCH 4/4] [RFC PATCH for Juno 2/2] tty: SBSA compatible UART

2014-09-15 Thread suravee.suthikulpanit
From: Grame Gregory This is a subset of pl011 UART which does not supprt DMA or baud rate changing. It is specified in the Server Base System Architecture document from ARM. Signed-off-by: Graeme Gregory --- drivers/tty/Kconfig| 6 + drivers/tty/Makefile | 1 + drivers/tty/sbsauart.

[PATCH 1/4] ata: ahci_platform: Add ACPI support for AMD Seattle SATA controller

2014-09-15 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit This patch adds ACPI match table in ahci_platform. The table includes the acpi_device_id to match AMD Seattle SATA controller with following asl structure in DSDT: Device (SATA0) { Name(_HID, "AMDI0600")// Seattle AHSATA Name (_CCA, 1)

Re: [PATCH 0/4] drivers/bus: Freescale Management Complex bus driver patch series

2014-09-15 Thread Kim Phillips
On Thu, 11 Sep 2014 12:34:20 -0500 "J. German Rivera" wrote: > This patch series introduces Linux support for the Freescale > Management Complex (fsl-mc) hardware. here are the results of using some tools to check this patchseries: make C=1 CF="-D__CHECK_ENDIAN__": drivers/bus/fsl-mc/fsl_mc_sy

Re: [PATCH 0/6] KEYS: Miscellaneous fixes

2014-09-15 Thread James Morris
On Mon, 15 Sep 2014, David Howells wrote: > Hi James, > > Thanks for pushing the first patch. Any thoughts on what to do with the > remaining patches? #5 and #6 at least ought to go upstream as there's a > potential memory leak fixed and #2 because the keyutils testsuite is failing > without it

[PATCH V4] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-15 Thread Shengjiu Wang
Check if ipg clock is in clock-names property, then we can move the ipg clock enable and disable operation to startup and shutdown, that is only enable ipg clock when ssi is working and keep clock is disabled when ssi is in idle. But when the checking is failed, remain the clock control as before.

Re: [PATCH v2 0/7] mtd: denali: A collection of trivial coding style fixes

2014-09-15 Thread Masahiro Yamada
Hi Brian, On Mon, 15 Sep 2014 17:36:20 -0700 Brian Norris wrote: > On Tue, Sep 09, 2014 at 11:01:50AM +0900, Masahiro Yamada wrote: > > Changes in v2: > > - Join quotes strings into a single line > > > > Masahiro Yamada (7): > > mtd: denali: fix the format of comment blocks > > mtd: de

Re: [PATCH v4 1/3] ahci-platform: Bump max number of clocks to 5

2014-09-15 Thread Kumar Gala
On Sep 9, 2014, at 8:36 AM, Kumar Gala wrote: > Qualcomm IPQ806x SoCs with SATA controllers need 5 clocks to be enabled. > > Signed-off-by: Kumar Gala > --- > (reposted with Hans on list) > > v4: > * Updated to upstream changes > > drivers/ata/ahci.h | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH 4/8] arm: mach-imx: Convert pr_warning to pr_warn

2014-09-15 Thread Shawn Guo
On Sat, Sep 13, 2014 at 11:31:15AM -0700, Joe Perches wrote: > Use the more common pr_warn. > > Signed-off-by: Joe Perches Applied, 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 htt

Re: [f2fs-dev][PATCH 4/5] f2fs: fix to clean previous mount option when remount_fs

2014-09-15 Thread Gu Zheng
Hi Yu, On 09/15/2014 06:04 PM, Chao Yu wrote: > In manual of mount, we descript remount as below: > > "mount -o remount,rw /dev/foo /dir > After this call all old mount options are replaced and arbitrary stuff from > fstab is ignored, except the loop= option which is internally generated and > m

Re: [PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-15 Thread Peter Chen
On Mon, Sep 15, 2014 at 12:42:27PM +0200, Andreas Larsson wrote: > The state attribute is connected to the kobj of the udc, not the gadget. > > Signed-off-by: Andreas Larsson > --- > drivers/usb/gadget/udc/udc-core.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > d

Re: [PATCH 3.16 000/158] 3.16.3-stable review

2014-09-15 Thread Guenter Roeck
On 09/15/2014 12:23 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.16.3 release. There are 158 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.14 000/114] 3.14.19-stable review

2014-09-15 Thread Guenter Roeck
On 09/15/2014 12:25 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.19 release. There are 114 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.10 00/71] 3.10.55-stable review

2014-09-15 Thread Guenter Roeck
On 09/15/2014 12:25 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.55 release. There are 71 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

RE: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-15 Thread Wang, Yalin
Hi The reason that a want merge this patch is that It confuse me when I debug memory issue by /sys/kernel/debug/memblock/reserved debug file, It show lots of un-correct reserved memory. In fact, I also send a patch to cma driver part For this issue too: http://ozlabs.org/~akpm/mmots/broken-out/f

Re: [3.13.y.z extended stable] Linux 3.13.11.7 stable review

2014-09-15 Thread Tim Gardner
On 09/15/2014 06:03 PM, Greg KH wrote: > On Mon, Sep 15, 2014 at 03:06:50PM -0700, Kamal Mostafa wrote: >> This is the start of the review cycle for the Linux 3.13.11.7 stable kernel. >> >> This version contains 187 new patches, summarized below. The new patches are >> posted as replies to this me

Re: [alsa-devel] [PATCH v2 2/4] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-09-15 Thread Shawn Guo
On Mon, Sep 15, 2014 at 03:07:02PM +0300, Dmitry Lavnikevich wrote: > On 12/09/14 19:40, Fabio Estevam wrote: > >On Fri, Sep 12, 2014 at 1:26 PM, Alexander Shiyan wrote: > >>Fri, 12 Sep 2014 19:04:30 +0300 от Dmitry Lavnikevich > >>: > >>>Audio on phyFLEX boards is presented by tlv320aic3007 code

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

2014-09-15 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 v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-15 Thread Shawn Guo
On Mon, Sep 15, 2014 at 11:41:13AM +0200, Lucas Stach wrote: > Am Mittwoch, den 10.09.2014, 13:30 +0800 schrieb Robin Gong: > > There is one weird data in rxfifo after one full rx/tx transfer > > done sometimes. It looks a design issue and hard to workaround > > totally, so disable dma functhion he

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

2014-09-15 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] memory cgroup: my thoughts on memsw

2014-09-15 Thread Kamezawa Hiroyuki
(2014/09/16 4:14), Johannes Weiner wrote: Hi Vladimir, On Thu, Sep 04, 2014 at 06:30:55PM +0400, Vladimir Davydov wrote: To sum it up, the current mem + memsw configuration scheme doesn't allow us to limit swap usage if we want to partition the system dynamically using soft limits. Actually, it

Re: [PATCH 4/4] drivers/xen/xenbus/xenbus_client.c: Improve the failure processing for __xenbus_switch_state()

2014-09-15 Thread Chen Gang
On 9/16/14 9:07, Boris Ostrovsky wrote: > > On 09/14/2014 06:52 AM, Chen Gang wrote: >> When failure occurs, need return failure code instead of 0, or the upper >> caller will misunderstand. >> >> Also when retry for EAGAIN reason, better to schedule out for a while, >> so can let others have chan

Re: [Xen-devel] [V5 PATCH 1/1] x86/xen: Set EFER.NX and EFER.SCE in PVH guests

2014-09-15 Thread Mukesh Rathor
On Fri, 12 Sep 2014 16:42:58 -0400 Konrad Rzeszutek Wilk wrote: > On Wed, Sep 10, 2014 at 04:36:06PM -0700, Mukesh Rathor wrote: sorry, i didn't realize you had more comments... didn't scroll down :).. > > cpumask_var_t xen_cpu_initialized_map; > > > > @@ -99,10 +100,14 @@ static void cpu_br

linux-kernel@vger.kernel.org

2014-09-15 Thread Weike Chen
This patch replaces 'readl&writel' with 'dwapb_read&dwapb_write'. Reviewed-by: Shevchenko, Andriy Signed-off-by: Weike Chen --- drivers/gpio/gpio-dwapb.c | 37 +++-- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-dwapb.c b/dri

[PATCH 4/4 v4] GPIO: gpio-dwapb: Suspend & Resume PM enabling

2014-09-15 Thread Weike Chen
This patch enables suspend and resume mode for the power management, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh Signed-off-by: Weike Chen --- drivers/gpio/gpio-dwapb.c | 109 + 1 file changed, 109 insertions(+) diff

[PATCH 3/4 v4] GPIO: gpio-dwapb: Support Debounce

2014-09-15 Thread Weike Chen
This patch enables 'debounce' for the designware GPIO, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh Reviewed-by: Shevchenko, Andriy Signed-off-by: Weike Chen --- drivers/gpio/gpio-dwapb.c | 28 1 file changed, 28 insertions(+) dif

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

2014-09-15 Thread Weike Chen
The Synopsys DesignWare APB GPIO driver only supports open firmware devices. But, like Intel Quark X1000 SOC, which has a single PCI function exporting a GPIO and an I2C controller, it is a Multifunction device. This patch is to enable the current Synopsys DesignWare APB GPIO driver to support the

[PATCH 0/4 v4] The Designware GPIO Supporting

2014-09-15 Thread Weike Chen
Hi, These patches are for Intel Quark X1000 designware GPIO supporting. The first patch enables the Synopsys DesignWare APB GPIO driver to support the MFD device. And the Quark designware GPIO controller is registered as MFD device, because Quark exports a single PCI device with both GPIO and I2C f

Re: [3.13.y.z extended stable] Linux 3.13.11.7 stable review

2014-09-15 Thread Greg KH
On Mon, Sep 15, 2014 at 07:18:35PM -0600, Tim Gardner wrote: > On 09/15/2014 06:03 PM, Greg KH wrote: > > On Mon, Sep 15, 2014 at 03:06:50PM -0700, Kamal Mostafa wrote: > >> This is the start of the review cycle for the Linux 3.13.11.7 stable > >> kernel. > >> > >> This version contains 187 new pa

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-15 Thread hisanao.kinkawa
Hi Do not hit the following bug? Often, This bug fails setting of CMD6. Original Message Subject:Re: [PATCH v2] mmc:sdhci: handle busy-end interrupt during command Date: Tue, 2 Sep 2014 11:27:51 +0200 From: Ulf Hansson To: Chanho Min On 30 August 20

Re: [PATCH v2 6/6] x86, pat: Update documentation for WT changes

2014-09-15 Thread Andy Lutomirski
On Mon, Sep 15, 2014 at 2:19 PM, Toshi Kani wrote: > On Wed, 2014-09-10 at 15:34 -0600, Toshi Kani wrote: >> On Wed, 2014-09-10 at 13:29 -0700, Andy Lutomirski wrote: >> > On Wed, Sep 10, 2014 at 1:12 PM, Toshi Kani wrote: >> > > On Wed, 2014-09-10 at 11:30 -0700, Andy Lutomirski wrote: >> > >> O

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-15 Thread Kim Phillips
On Thu, 11 Sep 2014 12:34:21 -0500 "J. German Rivera" wrote: > From: "J. German Rivera" > > APIs to access the Management Complex (MC) hardware > module of Freescale LS2 SoCs. This patch includes > APIs to check the MC firmware version and to manipulate > DPRC objects in the MC. > > Signed-off

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

2014-09-15 Thread Minchan Kim
On Mon, Sep 15, 2014 at 12:00:33PM -0400, Dan Streetman wrote: > On Sun, Sep 14, 2014 at 8:57 PM, Minchan Kim wrote: > > 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 0

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

2014-09-15 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; > > > > > +

  1   2   3   4   5   6   7   8   9   10   >