Re: [tip:sched/urgent] sched: Check sched_domain before computing group power

2013-11-27 Thread David Rientjes
On Tue, 19 Nov 2013, tip-bot for Srikar Dronamraju wrote: > Commit-ID: 9abf24d465180f5f2eb26a43545348262f16b771 > Gitweb: http://git.kernel.org/tip/9abf24d465180f5f2eb26a43545348262f16b771 > Author: Srikar Dronamraju > AuthorDate: Tue, 12 Nov 2013 22:11:26 +0530 > Committer: Ingo

Re: [RFC PATCH 0/2] tracing: Teach FETCH_MTD_symbol to handle per-cpu data

2013-11-27 Thread Masami Hiramatsu
(2013/11/28 2:41), Oleg Nesterov wrote: > On 11/27, Masami Hiramatsu wrote: >> >> (2013/11/27 2:43), Oleg Nesterov wrote: >>> >>> This doesn't allow to read the data from other CPUs, but at least >>> the changes are simple and this_cpu_ is better than the reading >>> from the obviously wrong

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > The long-standing, user-visible definition of the current line agrees > with me. You can't just redefine this, period. > > I tried to explain to you how insane the motivation for this patch is, > but it does not look like you are reading what I

Re: Re: [PATCH 1/2] tracing: Add $cpu and $current probe-vars

2013-11-27 Thread Masami Hiramatsu
(2013/11/28 2:05), Oleg Nesterov wrote: > On 11/27, Masami Hiramatsu wrote: >> >> (2013/11/27 2:23), Oleg Nesterov wrote: >>> On 11/26, Masami Hiramatsu wrote: (2013/11/26 4:29), Oleg Nesterov wrote: > +#define PSEUDO_REG_OFFSET4096/* arbitrary value > >

Re: [PATCH v3 1/6] ARM: tegra: add gpiod_lookup table for paz00

2013-11-27 Thread Alexandre Courbot
On Thu, Nov 28, 2013 at 1:47 AM, Rhyland Klein wrote: > On 11/26/2013 5:05 AM, Mika Westerberg wrote: >> From: Heikki Krogerus >> >> This makes it possible to request the gpio descriptors in >> rfkill_gpio driver regardless of the platform. >> >> Signed-off-by: Heikki Krogerus >> Signed-off-by:

Re: [PATCH v2] serial: 8250_dw: Improve unwritable LCR workaround

2013-11-27 Thread Tim Kryger
On Wed, Nov 27, 2013 at 10:54 AM, Ezequiel Garcia wrote: > On Tue, Nov 26, 2013 at 03:03:03PM -0800, Tim Kryger wrote: >> An external device may be keeping the UART busy and preventing LCR >> from being written. >> >> What device is attached to ttyS1? > > There's no device attached at ttyS1.

[PATCH 3/4] arm: add early_ioremap support

2013-11-27 Thread Mark Salter
This patch uses the generic early_ioremap code to implement early_ioremap for ARM. The ARM-specific bits come mostly from an earlier patch from Leif Lindholm here: https://lkml.org/lkml/2013/10/3/279 Signed-off-by: Mark Salter Tested-by: Leif Lindholm CC: Russell King CC:

[PATCH 1/4] Create generic early_ioremap() support

2013-11-27 Thread Mark Salter
This patch copies generic bits of x86 early_ioremap() support into a library for potential use by other architectures. Signed-off-by: Mark Salter CC: Arnd Bergmann CC: Ingo Molnar CC: linux-a...@vger.kernel.org --- include/asm-generic/early_ioremap.h | 40 ++ lib/Kconfig

[PATCH 4/4] arm64: add early_ioremap support

2013-11-27 Thread Mark Salter
Signed-off-by: Mark Salter CC: Catalin Marinas CC: Will Deacon CC: Rob Landley CC: linux-arm-ker...@lists.infradead.org CC: linux-...@vger.kernel.org --- Documentation/arm64/memory.txt | 4 +-- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/Kbuild| 1 +

[PATCH 2/4] x86: use generic early_ioremap

2013-11-27 Thread Mark Salter
Signed-off-by: Mark Salter CC: Thomas Gleixner CC: Ingo Molnar CC: "H. Peter Anvin" CC: x...@kernel.org --- arch/x86/Kconfig | 1 + arch/x86/include/asm/Kbuild | 1 + arch/x86/include/asm/fixmap.h | 6 ++ arch/x86/include/asm/io.h | 14 +-- arch/x86/mm/ioremap.c

[PATCH 0/4] generic early_ioremap support

2013-11-27 Thread Mark Salter
This patch series takes the common bits from the x86 early ioremap implementation and creates a generic library which may be used by other architectures. The early ioremap interfaces are intended for situations where boot code needs to make temporary virtual mappings before the normal ioremap

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > > The task that is bypassing the memcg charge to the root memcg may not be > > the process that is chosen by the oom killer, and it's possible the amount > > of memory freed by killing the victim is less than the amount of memory > > bypassed. > >

Re: [PATCH 1/9] mtd: amd76xrom: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
On Thursday, November 28, 2013 11:28 AM, Jingoo Han wrote: > This macro is used to create a struct pci_device_id array. > > Signed-off-by: Jingoo Han Oops, Please ignore this patch. I was confused, so I sent the patch to wrong cc-list. Sorry. Best regards, Jingoo Han > --- >

[PATCH 1/9] mtd: amd76xrom: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/mtd/maps/amd76xrom.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c index f7207b0..6a0582e 100644 ---

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 04:22:18PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > The patch is drawing the line at "the kernel can no longer do anything to > > > free memory", and that's the line where userspace should be notified or a > > > process killed by

linux-next: Tree for Nov 28

2013-11-27 Thread Stephen Rothwell
Hi all, Changes since 20131127: My fixes tree is empty again. Non-merge commits (relative to Linus' tree): 1504 1680 files changed, 67682 insertions(+), 32808 deletions(-) I have created today's linux-next tree

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 04:56:04PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > The memcg oom killer has incurred a serious regression since the 3.12-rc6 > > > kernel where this was merged as 4942642080ea ("mm: memcg: handle > > > non-error > > > OOM

Re: [PATCH v2] efi-pstore: Make efi-pstore return a unique id

2013-11-27 Thread Madper Xie
m...@console-pimps.org writes: > On Sat, 23 Nov, at 07:55:37PM, Madper Xie wrote: >> >> Pstore fs expects that backends provide a uniqued id which could avoid >> pstore making entries as duplication or denominating entries the same >> name. So I combine the timestamp, part and count into id. >>

[PATCH 4/4] uio: uio_sercos3: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/uio/uio_sercos3.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_sercos3.c b/drivers/uio/uio_sercos3.c index 9cfdfca..f233b03 100644 ---

[PATCH 3/4] uio: uio_netx: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/uio/uio_netx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_netx.c b/drivers/uio/uio_netx.c index 4c345db..8e85bfb 100644 --- a/drivers/uio/uio_netx.c +++

Re: [GIT PULL] (xen) stable/for-jens-3.13-take-two (bug-fixes to xen-blkfront)

2013-11-27 Thread Jens Axboe
On Tue, Nov 26 2013, Konrad Rzeszutek Wilk wrote: > > Hey Jens, > > Please git pull the following branch: > > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > stable/for-jens-3.13-take-two > > which has bug-fixes. It is based on todays on your 'for-3.13/drivers' >

[PATCH 2/4] uio: uio_cif: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/uio/uio_cif.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_cif.c b/drivers/uio/uio_cif.c index 30f533c..07dba37 100644 --- a/drivers/uio/uio_cif.c +++

[PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/uio/uio_aec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_aec.c b/drivers/uio/uio_aec.c index 1549fab..c06f800 100644 --- a/drivers/uio/uio_aec.c +++

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
ftrace is the flagship example. And yes, agreed about timeouts. Linus Torvalds wrote: >On Wed, Nov 27, 2013 at 3:28 PM, H. Peter Anvin wrote: >> >> The timeout bit was an acknowledgment that some kind of batching >> interface is necessary. > >That's just moronic. People would make up totally

Re: [PATCH v4 00/12] kexec kernel efi runtime support

2013-11-27 Thread Dave Young
On 11/27/13 at 12:50pm, Matt Fleming wrote: > On Tue, 26 Nov, at 01:57:45PM, Dave Young wrote: > > Hi, > > > > Here is the V4 resend for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the

Re: Re: modules, add_kallsyms() && DEFINE_PER_CPU

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 22:35), Oleg Nesterov wrote: > On 11/27, Masami Hiramatsu wrote: >> >> (2013/11/27 2:50), Oleg Nesterov wrote: >>> On 11/26, Oleg Nesterov wrote: Note: this doesn't work for modules, but module's per-cpu data is not visible for kallsyms_lookup_name() anyway. >>> >>>

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Linus Torvalds
On Wed, Nov 27, 2013 at 3:28 PM, H. Peter Anvin wrote: > > The timeout bit was an acknowledgment that some kind of batching > interface is necessary. That's just moronic. People would make up totally random timeouts, so from an interface standpoint it's just horrid, horrid. Giving user space

[RFC PATCH] ARM: compressed: Move ramdisk forward to reserve more memory for kernel image

2013-11-27 Thread falcon
From: Wu Zhangjin During the booting of an embedded Linux system, before decompressing the kernel image, the bootloader(E.g. Uboot) loads the compressed kernel image and ramdisk image into two contiguous memory spaces, these two memory spaces are fixed after the Uboot is released, as a result,

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-27 Thread Chen Gang
On 11/27/2013 06:43 PM, Dan Carpenter wrote: > On Wed, Nov 27, 2013 at 12:24:22PM +0800, Chen Gang wrote: >> On 11/27/2013 12:03 PM, Greg KH wrote: >>> On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of

[PATCH v8] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-11-27 Thread HATAYAMA Daisuke
This patch is to allow kdump 2nd kernel to wake up multiple CPUs, a continuing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. At v4, basic design has changed. Now users need to figure out initial APIC ID of BSP in the 1st

[RESEND PATCH net-next 1/4] vhost: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |5 - drivers/vhost/scsi.c |5 - drivers/vhost/test.c |5 - 3 files

[RESEND PATCH net-next 4/4] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index eeb1a97..155d60e 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -588,7

[RESEND PATCH net-next 3/4] macvtap: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index dc76670..eeb1a97 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -780,8 +780,6

[RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Per David's request, it's time to resend them now. Zhi Yong Wu (4): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void drivers/net/macvtap.c |8 ++--

[RESEND PATCH net-next 2/4] vhost: adjust vhost_dev_init() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Chao Yu
Hi Kim, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Wednesday, November 27, 2013 4:19 PM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; '谭姝' > Subject: RE: [f2fs-dev] [PATCH]

[PATCH] ARM : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Eunbong Song
This patch removes CONFIG_MTD_PARTITIONS in config files for arm. Because CONFIG_MTD_PARTITIONS was removed by commit 6a8a98b22b10f1560d5f90aded4a54234b9b2724. --- I resend this patch because i forgot signoff. -- arch/arm/configs/acs5k_defconfig|1 -

RE: [PATCH v2] ACPI: Cleanup , and inclusions.

2013-11-27 Thread Zheng, Lv
> From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Wednesday, November 27, 2013 8:29 AM > > On Tuesday, November 26, 2013 03:29:05 PM Konrad Rzeszutek Wilk wrote: > > On Tue, Nov 26, 2013 at 09:29:33PM +0100, Rafael J.

Re: Re: [PATCH] m68k : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Eunbong Song
> Hi Eunbong, >Acked-by: Greg Ungerer >Did you want me to pick this up for the m68knommu git tree? Hello, Greg. I'm glad if you pick up this patch. Thanks EunBong

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > > The memcg oom killer has incurred a serious regression since the 3.12-rc6 > > kernel where this was merged as 4942642080ea ("mm: memcg: handle non-error > > OOM situations more gracefully"). It cc'd sta...@kernel.org although it > > doesn't

Re: [PATCH] m68k : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Greg Ungerer
Hi Eunbong, On 27/11/13 11:48, Eunbong Song wrote: > This patch removes CONFIG_MTD_PARTITIONS in config files for m68k. > Because CONFIG_MTD_PARTITIONS was removed by commit > 6a8a98b22b10f1560d5f90aded4a54234b9b2724. > > Signed-off-by: Eunbong Song Acked-by: Greg Ungerer Did you want me to

Re: [PATCH] block: Silence spurious compiler warnings

2013-11-27 Thread Stephen Rothwell
Hi Kent, On Tue, 26 Nov 2013 16:39:49 -0800 Kent Overstreet wrote: > > From 46e7081430f5f483906f496733a23f8e9d898879 Mon Sep 17 00:00:00 2001 > From: Kent Overstreet > Date: Tue, 26 Nov 2013 16:36:49 -0800 > Subject: [PATCH] block: Silence spurious compiler warnings > > Signed-off-by: Kent

Re: [PATCH] PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()

2013-11-27 Thread Jingoo Han
On Tuesday, November 26, 2013 7:00 AM, Bjorn Helgaas wrote: > On Sat, Nov 23, 2013 at 5:17 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > After commit bcdde7e221a8 (sysfs: make __sysfs_remove_dir() recursive) > > I'm seeing traces analogous to the one below in Thunderbolt

Re: [PATCH] [trivial] treewide: Fix typo in Kconfig

2013-11-27 Thread Randy Dunlap
On 11/26/13 07:19, Masanari Iida wrote: > Correct spelling typo within various drivers. > > Signed-off-by: Masanari Iida > --- > diff --git a/net/atm/Kconfig b/net/atm/Kconfig > index 754ea10..1e6de99 100644 > --- a/net/atm/Kconfig > +++ b/net/atm/Kconfig > @@ -35,7 +35,7 @@ config

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-27 Thread Sebastian Reichel
On Wed, Nov 27, 2013 at 10:16:47PM +0100, Pali Rohár wrote: > On Monday 25 November 2013 22:50:01 Sebastian Reichel wrote: > > > 2 seems more generic to me, but as rx51-battery is missing > > > the functionality to send events on temperature change, I > > > guess 1 will be easier to implement. > >

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > > The patch is drawing the line at "the kernel can no longer do anything to > > free memory", and that's the line where userspace should be notified or a > > process killed by the kernel. > > > > Giving current access to memory reserves in the oom

Re: [PATCH v7 1/2] x86, apic: Add disable_cpu_apicid kernel parameter

2013-11-27 Thread HATAYAMA Daisuke
(2013/11/28 0:10), Vivek Goyal wrote: On Wed, Nov 27, 2013 at 11:00:48AM +0900, HATAYAMA Daisuke wrote: Add disable_cpu_apicid kernel parameter. To use this kernel parameter, specify an initial APIC ID of the corresponding CPU you want to disable. This is mostly used for the kdump 2nd kernel

Re: [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr()

2013-11-27 Thread Jason Cooper
On Wed, Nov 27, 2013 at 11:45:24AM -0800, Olof Johansson wrote: > On Mon, Nov 25, 2013 at 11:46 AM, Jason Cooper wrote: > > On Mon, Nov 25, 2013 at 07:39:25PM +, Jason Cooper wrote: > >> The following commit: > >> > >> 54f8d501e842 dmaengine: remove DMA unmap from drivers > >> > >> removed

Re: BUG: mm, numa: test segfaults, only when NUMA balancing is on

2013-11-27 Thread Alex Thorlton
On Sat, Nov 23, 2013 at 12:09:24AM +, Mel Gorman wrote: > On Fri, Nov 22, 2013 at 11:05:24PM +, Mel Gorman wrote: > > On Fri, Nov 22, 2013 at 03:28:07PM -0600, Alex Thorlton wrote: > > > > If the warning added by that patch does *not* trigger than can you also > > > > test this patch? It

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
On 11/27/2013 03:40 PM, Borislav Petkov wrote: > > But I'd guess that depends on the uarch because Bulldozer, reportedly, > implements MFENCE by causing a pipeline stall which controls the > prefetches too: > An implementation can always make the memory model stronger, but not weaker.

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Andi Kleen
One reason why I like having a syscall is that if there is some CPU which needs additional workarounds here it could be all done in a central place (I don't know of any that does right now but traditionally it has been a bug intensive area) > Hmm? It doesn't sound too bad. And I really don't see

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Borislav Petkov
On Wed, Nov 27, 2013 at 03:20:07PM -0800, H. Peter Anvin wrote: > No. MFENCE doesn't serialize the front end. So my manual says "The MFENCE instruction is weakly-ordered with respect to data and instruction prefetches. Speculative loads initiated by the processor, or specified explicitly using

[PATCH] pch_gbe: Fix: Link configuration in module parameters was ignored

2013-11-27 Thread Ondrej Puzman
PHY configuration set in pch_gbe_phy_init_setting() by mii_ethtool_sset() was immedeiately reset by two calls of pch_gbe_phy_sw_reset(). Result of this bug was that module parameters like AutoNeg were ignored silently. Signed-off-by: Ondrej Puzman ---

[PATCH] pch_gbe: Remove tx_queue_len setting from the driver

2013-11-27 Thread Ondrej Puzman
The driver should not touch netdev tx_queue_len when changing link speed. Signed-off-by: Ondrej Puzman --- drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h|2 -- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c |5 - 2 files changed, 0 insertions(+), 7 deletions(-) diff --git

[PATCH] pch_gbe: Fix transmit queue management

2013-11-27 Thread Ondrej Puzman
According to Documentation/networking/driver.txt the ndo_start_xmit method should not return NETDEV_TX_BUSY under normal circumstances. Stop the transmit queue when tx_ring is full. Signed-off-by: Ondrej Puzman --- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c |4 1 files

[PATCH] pch_gbe: Add DQL support to the driver

2013-11-27 Thread Ondrej Puzman
Add dynamic queue limits support to the driver. Signed-off-by: Ondrej Puzman --- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c

[PATCH V5 1/6] efi-stub.txt updates for ARM

2013-11-27 Thread Roy Franz
Update efi-stub.txt documentation to be more general and not x86 specific. Add ARM only "dtb=" command line option description. Signed-off-by: Roy Franz --- Documentation/efi-stub.txt | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git

Re: [patch] mm: memcg: do not declare OOM from __GFP_NOFAIL allocations

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > > We don't give __GFP_NOFAIL allocations access to memory reserves in the > > page allocator and we do call the oom killer for them so that a process is > > killed so that memory is freed. Why do we have a different policy for > > memcg? > > Oh

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 03:08:30PM -0800, David Rientjes wrote: > On Thu, 17 Oct 2013, a...@linux-foundation.org wrote: > > > diff -puN > > mm/memcontrol.c~mm-memcg-handle-non-error-oom-situations-more-gracefully > > mm/memcontrol.c > > --- > >

Re: netfilter: active obj WARN when cleaning up

2013-11-27 Thread Greg KH
On Wed, Nov 27, 2013 at 02:44:58PM +0100, Thomas Gleixner wrote: > On Wed, 27 Nov 2013, Russell King - ARM Linux wrote: > > > On Wed, Nov 27, 2013 at 01:32:31PM +, Russell King - ARM Linux wrote: > > > On Wed, Nov 27, 2013 at 02:29:41PM +0100, Thomas Gleixner wrote: > > > > Though the kobject

Re: [patch 6/9] mm + fs: store shadow entries in page cache

2013-11-27 Thread Dave Chinner
On Wed, Nov 27, 2013 at 12:08:04PM -0500, Johannes Weiner wrote: > On Tue, Nov 26, 2013 at 10:17:16AM +1100, Dave Chinner wrote: > > On Sun, Nov 24, 2013 at 06:38:25PM -0500, Johannes Weiner wrote: > > > Reclaim will be leaving shadow entries in the page cache radix tree > > > upon evicting the

[PATCH V5 0/6] Add ARM EFI stub

2013-11-27 Thread Roy Franz
This patch series adds EFI stub support for the ARM architecture. The stub for ARM is implemented in a similar manner to x86 in that it is a shim layer between EFI and the normal zImage/bzImage boot process, and that an image with the stub configured is bootable as both a zImage and EFI

[PATCH V5 2/6] Add shared update_fdt() function for ARM/ARM64

2013-11-27 Thread Roy Franz
Both ARM and ARM64 stubs will update the device tree that they pass to the kernel. In both cases they primarily need to add the same UEFI related information, so the function can be shared. Create a new FDT related file for this to avoid use of architecture #ifdefs in efi-stub-helper.c Change EFI

[PATCH V5 3/6] Add strstr to compressed string.c for ARM.

2013-11-27 Thread Roy Franz
The shared efi-stub-helper.c functions require a strstr implementation. Implementation copied from arch/x86/boot/string.c Signed-off-by: Roy Franz Reviewed-by: Grant Likely --- arch/arm/boot/compressed/string.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH V5 6/6] Add config EFI_STUB for ARM to Kconfig

2013-11-27 Thread Roy Franz
Signed-off-by: Roy Franz --- arch/arm/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a1b4758..6601985 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1857,6 +1857,16 @@ config EFI This option is only useful

[PATCH V5 4/6] Add EFI stub for ARM

2013-11-27 Thread Roy Franz
This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operates similarly to the x86 stub: it is a shim between the EFI firmware and the normal zImage entry point, and sets up the environment that the zImage is expecting. This includes loading the initrd (optionaly) and device

[PATCH V5 5/6] Disable stack protection for decompressor/stub

2013-11-27 Thread Roy Franz
The ARM decompressor/EFI stub do not implement the functions (__stack_chk_guard_setup, etc) that are required for support of stack protection. The actual enablement of stack protection is controlled by heuristics in GCC, which the code added for the EFI stub triggers when CONFIG_STACKPROTECTOR is

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
On 11/27/2013 03:15 PM, Linus Torvalds wrote: > > Oh, I agree. The interface of the original patch was just inane/insane. > > The timeout and the callback is pointless. The only thing the system > call should get as an argument is the address and the replacement > instruction. So > > int

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
On 11/27/2013 03:10 PM, Borislav Petkov wrote: > On Wed, Nov 27, 2013 at 02:40:04PM -0800, H. Peter Anvin wrote: >> Also don't forget we need the IPIs, too... > > Yeah, I was simply looking at whether we could get away with executing > an empty syscall, i.e. save us the CPUID and rely only on the

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 01:51:20PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > > But more importantly, OOM handling is just inherently racy. A task > > > > might receive the kill signal a split second *after* userspace was > > > > notified. Or a task may

Re: [GIT PULL] extcon fixes for 3.13-rc2

2013-11-27 Thread Greg KH
On Tue, Nov 26, 2013 at 04:44:08PM +0900, Chanwoo Choi wrote: > Hi Greg, > > This is extcon fixes pull request for 3.13-rc2. I add detailed description of > this pull request on below. Please pull extcon fixes with following updates. > > The following changes since commit

pm_runtime functions and IS_ERR_VALUE (was Re: [PATCH v6] ARM: omap: edma: add suspend suspend/resume hooks)

2013-11-27 Thread Nishanth Menon
Change in subject line + wider forum On 19:24-20131127, Sekhar Nori wrote: > On Wednesday 27 November 2013 07:17 PM, Daniel Mack wrote: > > On 11/27/2013 02:35 PM, Sekhar Nori wrote: > >> On Monday 18 November 2013 03:49 AM, Daniel Mack wrote: > >>> +static int edma

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Linus Torvalds
On Wed, Nov 27, 2013 at 2:53 PM, H. Peter Anvin wrote: > > If we are going to go down that route, I would like to see a list of > patch sites, not just one with a "timeout" that won't get used. Oh, I agree. The interface of the original patch was just inane/insane. The timeout and the callback

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Borislav Petkov
On Wed, Nov 27, 2013 at 03:04:41PM -0800, Linus Torvalds wrote: > So sysexit/sysret doesn't count as a serializing instruction, no. > But it doesn't need to, because *self*-modifying code doesn't need a > serializing instruction, only a branch. It's only *cross*-modifying > code that needs a

Re: [PATCH v2 0/2] clk: add clk accuracy support

2013-11-27 Thread colin
Um, do you have a definition somewhere (like in comments) of the definition of the accuracy you're using? So multiple people can add consistent values? Is this the standard deviation (67% confidence), 2 standard deviations (95%), 3 (99%), or something else? What averaging time is this computed

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Borislav Petkov
On Wed, Nov 27, 2013 at 02:40:04PM -0800, H. Peter Anvin wrote: > Also don't forget we need the IPIs, too... Yeah, I was simply looking at whether we could get away with executing an empty syscall, i.e. save us the CPUID and rely only on the IPIs and IRET. But we don't IPI ourselves in

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread David Rientjes
On Thu, 17 Oct 2013, a...@linux-foundation.org wrote: > diff -puN > mm/memcontrol.c~mm-memcg-handle-non-error-oom-situations-more-gracefully > mm/memcontrol.c > --- a/mm/memcontrol.c~mm-memcg-handle-non-error-oom-situations-more-gracefully > +++ a/mm/memcontrol.c > @@ -2161,110 +2161,59 @@

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Linus Torvalds
On Wed, Nov 27, 2013 at 2:31 PM, H. Peter Anvin wrote: > No, we're not... sysexit/sysret doesn't count. So sysexit/sysret doesn't count as a serializing instruction, no. But it doesn't need to, because *self*-modifying code doesn't need a serializing instruction, only a branch. It's only

Re: [PATCH 3.2 00/87] 3.2.53-rc1 review

2013-11-27 Thread Satoru Takeuchi
At Wed, 27 Nov 2013 14:45:04 +, Ben Hutchings wrote: > > [1 ] > [1.1 ] > This is the combined patch for 3.2.53-rc1 relative to 3.2.52. This kernel can be built and boot without any problem. - Build Machine: debian jessy x86_64 CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz x 4

Re: [PATCH] UAPI linux/fs.h: add a warning about wrong ioctl argument types

2013-11-27 Thread Aurelien Jarno
On Wed, Nov 27, 2013 at 03:13:40AM -0800, Christoph Hellwig wrote: > Thanks Aurelien, > > the added comment looks good and very useful, > > Reviewed-by: Christoph Hellwig > Thanks for the review. > We don't have any man pages documenting these ioctls or other user > visible documentation, do

Re: [patch] mm: memcg: do not declare OOM from __GFP_NOFAIL allocations

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 01:38:59PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > Ah, this is because of 3168ecbe1c04 ("mm: memcg: use proper memcg in > > > limit > > > bypass") which just bypasses all of these allocations and charges the > > > root > > >

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
On 11/27/2013 02:41 PM, Linus Torvalds wrote: > On Wed, Nov 27, 2013 at 2:02 PM, H. Peter Anvin wrote: >> For the record, this is the entire patch necessary to do the >> sync_cores() system call -- and no potential interactions with security >> frameworks or whatnot, simply because no

[GIT PATCH] TTY/Serial fixes for 3.13-rc2

2013-11-27 Thread Greg KH
The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.13-rc2 for you to fetch changes up to

[GIT PULL] Staging driver fixes for 3.13-rc2

2013-11-27 Thread Greg KH
The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.13-rc2 for you to fetch changes up to

[GIT PULL] Driver core / sysfs fixes for 3.13-rc2

2013-11-27 Thread Greg KH
The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.13-rc2 for you to fetch changes up to

Re: [PATCH 34/34] perf tools unwinding: Use the per-feature check flags

2013-11-27 Thread Jiri Olsa
On Wed, Nov 27, 2013 at 05:16:34PM -0300, Arnaldo Carvalho de Melo wrote: > From: Jean Pihet > > Use the per-feature check flags for the unwinding feature in order to > correctly compile the libunwind and libunwind-debug-frame feature > checks. > > Tested on ARMv7 and ARMv8 with 'make DEBUG=1

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread Linus Torvalds
On Wed, Nov 27, 2013 at 2:02 PM, H. Peter Anvin wrote: > For the record, this is the entire patch necessary to do the > sync_cores() system call -- and no potential interactions with security > frameworks or whatnot, simply because no security-sensitive operations > are performed of any kind. > >

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
On 11/27/2013 02:29 PM, Borislav Petkov wrote: > On Wed, Nov 27, 2013 at 02:25:29PM -0800, H. Peter Anvin wrote: >> Actually the CPUID is superfluous on anything than the executing CPU >> since IRET is serializing. > > Why not on the executing core too? We're IRET-ting there too. > > Which would

[PATCH] i2c: bcm-kona: fix module device table symbol

2013-11-27 Thread Vincent Stehlé
This fixes the following compilation error when compiling in module: drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: ‘__mod_of_device_table’ aliased to undefined symbol ‘kona_i2c_of_match’ Signed-off-by: Vincent Stehlé Cc: Wolfram Sang Cc: triv...@kernel.org --- Hi, Compilation breakage

Re: [PATCH v3 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-11-27 Thread Matt Porter
On Wed, Nov 27, 2013 at 12:13:25PM -0500, Matt Porter wrote: > On Tue, Nov 26, 2013 at 03:53:32PM +0530, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 25 November 2013 11:46 PM, Matt Porter wrote: > > > If a generic phy is present, call phy_init()/phy_exit(). This supports > > > generic

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
No, we're not... sysexit/sysret doesn't count. Borislav Petkov wrote: >On Wed, Nov 27, 2013 at 02:25:29PM -0800, H. Peter Anvin wrote: >> Actually the CPUID is superfluous on anything than the executing CPU >> since IRET is serializing. > >Why not on the executing core too? We're IRET-ting there

Re: [PATCH 3.11 00/36] 3.11.10-stable review

2013-11-27 Thread Shuah Khan
On 11/26/2013 11:12 AM, Greg Kroah-Hartman wrote: - NOTE: This is the LAST 3.11.x kernel I will be releasing. Everyone should be moving to the 3.12.x series at this point in time. After this kernel is released, 3.11 will be end-of-life.

Re: [PATCH 3.10 00/80] 3.10.21-stable review

2013-11-27 Thread Shuah Khan
On 11/26/2013 05:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.21 release. There are 80 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] Add a text_poke syscall v2

2013-11-27 Thread Borislav Petkov
On Wed, Nov 27, 2013 at 02:25:29PM -0800, H. Peter Anvin wrote: > Actually the CPUID is superfluous on anything than the executing CPU > since IRET is serializing. Why not on the executing core too? We're IRET-ting there too. Which would mean that a dummy empty syscall would be enough too since

Re: [PATCH 3.4 00/39] 3.4.71-stable review

2013-11-27 Thread Shuah Khan
On 11/26/2013 05:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.71 release. There are 39 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

[PATCH v2] PCI: Clear Bus Master bit only on kexec reboot

2013-11-27 Thread Khalid Aziz
Add a flag to tell the PCI subsystem that kernel is shutting down in prepapration to kexec a kernel. Add code in PCI subsystem to use this flag to clear Bus Master bit on PCI devices only in case of kexec reboot. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=63861 and avoids any other

Re: [PATCH 3.12 000/116] 3.12.2-stable review

2013-11-27 Thread Shuah Khan
On 11/26/2013 05:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.2 release. There are 116 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

[PATCH] Documentation/robust-futex-API: count properly to 4

2013-11-27 Thread Henrik Austad
A strictly monotonically increasing sequence is normally used in numbered lists as they provide an intuitive ordering of the elements. However, in situations where race conditions can appear, this assumption breaks down and you can end up with unpredictable results, leading to a rather confusing

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
Correct. Borislav Petkov wrote: >On Wed, Nov 27, 2013 at 02:02:50PM -0800, H. Peter Anvin wrote: >> For the record, this is the entire patch necessary to do the >> sync_cores() system call -- and no potential interactions with >security >> frameworks or whatnot, simply because no

Re: [PATCH] Add a text_poke syscall v2

2013-11-27 Thread H. Peter Anvin
Actually the CPUID is superfluous on anything than the executing CPU since IRET is serializing. Borislav Petkov wrote: >On Wed, Nov 27, 2013 at 02:02:50PM -0800, H. Peter Anvin wrote: >> For the record, this is the entire patch necessary to do the >> sync_cores() system call -- and no potential

<    1   2   3   4   5   6   7   8   9   10   >