Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Sagi Grimberg
On 11/2/2014 10:06 PM, Dave Airlie wrote: On 17 October 2014 08:52, Roland Dreier wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Main set of

Re: [PATCH 7/7] sched: Use WARN_ONCE for the might_sleep() TASK_RUNNING test

2014-11-02 Thread Peter Zijlstra
On Fri, Oct 31, 2014 at 11:42:37PM +0100, Oleg Nesterov wrote: > On 10/31, Peter Zijlstra wrote: > > > > In some cases this can trigger a true flood of output. > > > > Requested-by: Ingo Molnar > > Signed-off-by: Peter Zijlstra (Intel) > > --- > > kernel/sched/core.c |2 +- > > 1 file

Re: [PATCH 3/8] perf tools: Get rid of unused dsos__hit_all()

2014-11-02 Thread Adrian Hunter
On 03/11/14 09:39, Namhyung Kim wrote: > Hi Adrian, > > On Mon, Nov 3, 2014 at 4:35 PM, Adrian Hunter wrote: >> On 03/11/14 09:27, Namhyung Kim wrote: >>> The dsos__hit_all() and its friends are not used anywhere. Let's get >>> rid of them. >> >> They were added for Intel PT preparation. Intel

Re: linux-next: build failure after merge of the scsi tree

2014-11-02 Thread Hannes Reinecke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/03/2014 03:52 AM, Stephen Rothwell wrote: > Hi James, > > After merging the scsi tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/scsi/scsi_lib.c: In function 'scsi_io_completion': >

Re: Re: [for-next][PATCH 1/4] ftrace/x86: Add dynamic allocated trampoline for ftrace_ops

2014-11-02 Thread Masami Hiramatsu
(2014/11/01 1:01), Steven Rostedt wrote: > On Fri, 31 Oct 2014 14:19:03 +0900 > Masami Hiramatsu wrote: > > >>> + /* Load the contents of ptr into the callback parameter */ >>> + offset = (unsigned long)ptr; >>> + offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; >>> + >>> +

[PATCH 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-11-02 Thread Raymond Tan
In Quark X1000, there's a single PCI device that provides both an I2C controller and a GPIO controller. This MFD driver will split the 2 devices for their respective drivers. This patch is based on Josef Ahmad's initial work for Quark enabling. Signed-off-by: Weike Chen Signed-off-by: Raymond

[PATCH 0/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-11-02 Thread Raymond Tan
From: "Tan, Raymond" Hi, This patch is for enabling support of Intel Quark X1000 I2C controller and GPIO controller. In Quark X1000, the platform exports a single PCI device with both I2C and GPIO functions. This MFD driver will split the 2 devices for their respective drivers. Raymond Tan

Re: [PATCH 3/8] perf tools: Get rid of unused dsos__hit_all()

2014-11-02 Thread Namhyung Kim
Hi Adrian, On Mon, Nov 3, 2014 at 4:35 PM, Adrian Hunter wrote: > On 03/11/14 09:27, Namhyung Kim wrote: >> The dsos__hit_all() and its friends are not used anywhere. Let's get >> rid of them. > > They were added for Intel PT preparation. Intel PT is still on its way, > so they are still

Re: [PATCH 3/8] perf tools: Get rid of unused dsos__hit_all()

2014-11-02 Thread Adrian Hunter
On 03/11/14 09:27, Namhyung Kim wrote: > The dsos__hit_all() and its friends are not used anywhere. Let's get > rid of them. They were added for Intel PT preparation. Intel PT is still on its way, so they are still needed. Note the commit was: commit 1f625b0b3dd641b74ba21640a1fea19a3dd893a2

[PATCH 7/8] perf tools: Fix build-id matching on vmlinux

2014-11-02 Thread Namhyung Kim
There's a problem on finding correct kernel symbols when perf report runs on a different kernel. Although a part of the problem was solved by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel version when finding vmlinux"), there's a remaining problem still. When perf records

Re: [PATCH 0/4] (CMA_AGGRESSIVE) Make CMA memory be more aggressive about allocation

2014-11-02 Thread Hui Zhu
On Fri, Oct 24, 2014 at 1:25 PM, Joonsoo Kim wrote: > On Thu, Oct 16, 2014 at 11:35:47AM +0800, Hui Zhu wrote: >> In fallbacks of page_alloc.c, MIGRATE_CMA is the fallback of >> MIGRATE_MOVABLE. >> MIGRATE_MOVABLE will use MIGRATE_CMA when it doesn't have a page in >> order that Linux kernel

[PATCH 6/8] perf record: Do not save pathname in ./debug/.build-id directory for vmlinux

2014-11-02 Thread Namhyung Kim
When perf record finishes a session recording, it then pre-process samples in order to write build-id info from actually used DSOs. During this process it'll call map__load() for kernel map, and it ends up calling dso__load_vmlinux_path() which replaces dso->long_name. But this function checks

[PATCH 8/8] perf tools: Make vmlinux short name more like kallsyms short name

2014-11-02 Thread Namhyung Kim
The previous patch changed kernel dso name from '[kernel.kallsyms]' to vmlinux. However it might add confusion to old users accustomed to the old name. So change the short name to '[kernel.vmlinux]' to reduce such confusion. Before: # Overhead Command Shared ObjectSymbol

[PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-02 Thread Namhyung Kim
Now my Archlinux box shows module symbols correctly. Before: $ perf report --stdio Failed to open /tmp/perf-3477.map, continuing without symbols no symbols found in /usr/bin/date, maybe install a debug package? No kallsyms or vmlinux with build-id 7b4ea0a49ae2111925857099aaf05c3246ff33e0

[PATCH 4/8] perf tools: Rename dsos__write_buildid_table()

2014-11-02 Thread Namhyung Kim
The dsos__write_buildid_table() is not use struct dso and it mostly uses perf_session struct. So rename it to perf_session__write_buildid_ table() so that it corresponds to other related functions such as perf_session__read_build_ids() and perf_session__cache_build_ids(). Signed-off-by: Namhyung

[PATCH 1/8] perf tools: Preparation for compressed kernel module support

2014-11-02 Thread Namhyung Kim
This patch adds basic support to handle compressed kernel module as some distro (such as Archlinux) carries on it now. The actual work using compression library will be added later. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c| 74

[PATCH 5/8] perf build-id: Move build-id related functions to util/build-id.c

2014-11-02 Thread Namhyung Kim
It'd be better managing those functions in a separate place as util/header.c file is already big. It now exports following 3 functions to others: bool perf_session__read_build_ids(struct perf_session *session, bool with_hits); int perf_session__write_buildid_table(struct perf_session

[PATCH 3/8] perf tools: Get rid of unused dsos__hit_all()

2014-11-02 Thread Namhyung Kim
The dsos__hit_all() and its friends are not used anywhere. Let's get rid of them. Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 41 - tools/perf/util/header.h | 2 -- 2 files changed, 43 deletions(-) diff --git a/tools/perf/util/header.c

[PATCHSET 0/8] perf tools: Fix build-id matching on vmlinux (v5)

2014-11-02 Thread Namhyung Kim
Hello, This patchset addresses possible problem on kernel symbol matching. Since commit 5b7ba82a7591 ("perf symbols: Load kernel maps before using"), when perf record process samples to construct build-id table, it loads kernel map and it replaces dso->long_name. But perf report doesn't know

Re: Sporadic ESP payload corruption when using IPSec in NAT-T Transport Mode

2014-11-02 Thread Herbert Xu
Evan Gilman wrote: > > I tried to find a reference to the previous report of aesni-intel > causing IPSec corruption under Xen - I'd be interested to read it if > anyone here has it on hand. For now, we are looking to blacklist > aesni-intel as we have no other suitable solution, and when combined

Re: [vfs] WARNING: CPU: 0 PID: 3 at fs/dcache.c:255 __d_free()

2014-11-02 Thread Al Viro
On Mon, Nov 03, 2014 at 03:01:42PM +0800, Fengguang Wu wrote: > Hi Al, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-next > > commit ff1995cbc0eb7c4beeca313a150111e3e3622e2c > Author: Al Viro

Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-11-02 Thread Tanya Brokhman
On 11/3/2014 5:08 AM, hujianyang wrote: Hi Tanya, On 2014/11/3 1:14, Tanya Brokhman wrote: This patch add 'struct ubi_device *' for 3 functions. We can get 'ubi_device' from 'ubi_volume'. So I think it's because when we call these functions, the '->ubi' pointer of 'ubi_volume' is not

Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Eli Cohen
On Mon, Nov 03, 2014 at 06:06:45AM +1000, Dave Airlie wrote: > On 17 October 2014 08:52, Roland Dreier wrote: > > Hi Linus, > > > > Please pull from > > > > git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git > > tags/rdma-for-linus > > > >

[tracer branch] kernel BUG at kernel/sched/core.c:2697!

2014-11-02 Thread Fengguang Wu
Hi Aaron, FYI your patch triggered a BUG on an existing old bug. Let's hope it provides more info to debug the problem. commit 0d9e26329b0c9263d4d9e0422d80a0e73268c52f Author: Aaron Tomlin AuthorDate: Fri Sep 12 14:16:19 2014 +0100 Commit: Ingo Molnar CommitDate: Fri Sep 19 12:35:24

Re: [PATCH v8 07/10] sched: replace capacity_factor by usage

2014-11-02 Thread Wanpeng Li
Hi Vincent, On 14/10/31 下午4:47, Vincent Guittot wrote: The scheduler tries to compute how many tasks a group of CPUs can handle by assuming that a task's load is SCHED_LOAD_SCALE and a CPU's capacity is SCHED_CAPACITY_SCALE. group_capacity_factor divides the capacity of the group by

[LSM] Kernel panic - not syncing: No working init found.

2014-11-02 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git lsm/stacking commit 70bba377802ad16dda270ec02098289c16abdc3c Author: Casey Schaufler AuthorDate: Thu Oct 16 17:48:26 2014 -0700 Commit: Kees

Re: [PATCH 00/17] x86: Full support of PAT

2014-11-02 Thread Juergen Gross
On 10/31/2014 07:53 PM, Thomas Gleixner wrote: On Fri, 31 Oct 2014, Ingo Molnar wrote: * Juergen Gross wrote: Changes in V5: - split up first patch as requested by Ingo Molnar and Thomas Gleixner - add a helper function in pat_init_cache_modes() as requested by Ingo Molnar The structure

Re: [PATCH 01/17] x86: Make page cache mode a real type

2014-11-02 Thread Juergen Gross
On 10/31/2014 09:35 PM, Borislav Petkov wrote: On Fri, Oct 31, 2014 at 04:23:22PM -0400, Konrad Rzeszutek Wilk wrote: Signed-off-by: Stefan Bader Signed-off-by: Juergen Gross Just a clarification question: how is one to understand this attribution here? Is Stefan the original author, was he

Re: [PATCH 10/17] x86: Use new cache mode type in setting page attributes

2014-11-02 Thread Juergen Gross
On 10/31/2014 04:34 PM, Thomas Gleixner wrote: On Fri, 31 Oct 2014, Juergen Gross wrote: --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c @@ -1304,12 +1304,6 @@ static int __change_page_attr_set_clr(struct cpa_data *cpa, int checkalias) return 0; } -static inline int

[RFC] dupfs semantics

2014-11-02 Thread Al Viro
FWIW, now it can be done - with fairly limited changes we *can* implement something similar to Plan 9 dupfs (#d) and *BSD fdescfs. I.e. a filesystem with one directory, with contents depending on which process is looking there, files corresponding to opened descriptors of the process in

Re: [PATCH v5 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-11-02 Thread Shawn Guo
On Wed, Oct 29, 2014 at 04:47:03PM +0300, Dmitry Lavnikevich wrote: > Audio on phyFLEX boards is presented by tlv320aic3007 codec connected > over SSI interface. > > Signed-off-by: Dmitry Lavnikevich > --- > arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 > ++- >

[PATCH] next: input: Fix build error seen if input-core is built as module

2014-11-02 Thread Guenter Roeck
The following build error may be seen if input-core is built as module: drivers/input/leds.o: In function `init_module': leds.c:(.init.text+0x0): multiple definition of `init_module' drivers/input/input.o:input.c:(.init.text+0x0): first defined here drivers/input/leds.o: In function

[PATCH 1/3] tun: Modify const aio_read iovec per do_sock_read

2014-11-02 Thread Herbert Xu
I started working on this patch after discovering the horror of skb_copy_datagram_iovec and skb_copy_datagram_const_iovec. It's ridiculous to have two versions of the same thing. Especially when the reason they exist is because of a stupid disagreement between fs and net on how we should

[PATCH 2/3] macvtap: Modify const aio_read iovec per do_sock_read

2014-11-02 Thread Herbert Xu
I started working on this patch after discovering the horror of skb_copy_datagram_iovec and skb_copy_datagram_const_iovec. It's ridiculous to have two versions of the same thing. Especially when the reason they exist is because of a stupid disagreement between fs and net on how we should

Re: [PATCH 3/3] I2C: mediatek: Add driver for MediaTek I2C controller

2014-11-02 Thread xudong chen
On Fri, 2014-10-31 at 17:10 +0100, Matthias Brugger wrote: > 2014-10-31 15:38 GMT+01:00 Yingjoe Chen : > > On Fri, 2014-10-31 at 11:48 +0100, Matthias Brugger wrote: > >> 2014-10-31 7:31 GMT+01:00 xudong chen : > >> > On Thu, 2014-10-30 at 14:16 +0100, Matthias Brugger wrote: > >> >> 2014-10-29

[PATCH 3/3] net: Kill skb_copy_datagram_const_iovec

2014-11-02 Thread Herbert Xu
Now that both macvtap and tun are using skb_copy_datagram_iovec, we can kill the abomination that is skb_copy_datagram_const_iovec. Signed-off-by: Herbert Xu --- include/linux/skbuff.h |3 - net/core/datagram.c| 89 - 2 files changed,

Re: [PATCH v5 7/7] tpm: create TPM 2.0 devices using own device class

2014-11-02 Thread Jarkko Sakkinen
On Sun, Nov 02, 2014 at 02:33:05PM -0700, Jason Gunthorpe wrote: > On Sat, Nov 01, 2014 at 11:01:35AM +0200, Jarkko Sakkinen wrote: > > Added own class for TPM devices that is used for TPM 2.0 and onwards. > > For TPM1 old device structure is kept for backwards compatibility. > > > > Each struct

[0/3] net: Kill skb_copy_datagram_const_iovec

2014-11-02 Thread Herbert Xu
On Mon, Nov 03, 2014 at 12:45:03AM +, Al Viro wrote: > > Note, BTW, that there's a damn good reason to convert the socket side of > things to iov_iter - as it is, ->splice_write() there is basically done with > page-by-page mapping and doing kernel_sendmsg(); being able to deal with > "map and

Re: [PATCH] ipv4: avoid divide 0 error in tcp_incr_quickack

2014-11-02 Thread chenweilong
On 2014/11/3 11:42, Eric Dumazet wrote: > On Mon, 2014-11-03 at 09:29 +0800, Chen Weilong wrote: >> From: Weilong Chen >> >> We got a problem like this: > >> There was a wrong ack packet coming during TCP handshake. The socket's state >> was TCP_SYN_RECV, its rcv_mss was not initialize yet. So

[PATCH] lib: consistency of compress formats for kernel image

2014-11-02 Thread HaesungKim
From: Haesung Kim Magic number of compress formats for kernel image is defined by two bytes. These numbers are written in hexadecimal number, nevertheless magic number for only gunzip is written in octal number. The formats should be consistent for readability. Therefore, magic numbers for

[PATCH 1/6] ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag.

2014-11-02 Thread Lv Zheng
By using the 2 flags, we can indicate an inter-mediate state where the current transactions should be completed while the new transactions should be dropped. The comparison of the old flag and the new flags: Old New about to set BLOCKED STOPPED set / STARTED set BLOCKED

[PATCH 5/6] ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread to poll EC events.

2014-11-02 Thread Lv Zheng
There is wait code in the QR_SC command processing, which makes it not suitable to be put into a work queue item (see bug 82611). And there is case that the SCI_EVT cannot trigger GPE, though all commands have polling mode implemented, the event cannot be polled (see bug 77431). So if the QR_SC

[PATCH 0/6] ACPI/EC: Cleanups of command flushing and event polling.

2014-11-02 Thread Lv Zheng
This patchset contains 2 cleanups related to the EC driver: 1. Command flushing This patchset flushes EC commands before suspending/resuming, so that there won't be timeout for the incomplete commands after resuming. 2. Event polling thread It is not proper to send QR_EC command using the

[PATCH 3/6] ACPI/EC: Add reference counting for query handlers.

2014-11-02 Thread Lv Zheng
This patch adds reference counting for query handlers in order to eliminate kmalloc()/kfree() usage. Signed-off-by: Lv Zheng Tested-by: Steffen Weber Tested-by: Ortwin Glück Acked-by: Rafael J. Wysocki --- drivers/acpi/ec.c | 47 +-- 1 file

[PATCH 2/6] ACPI/EC: Enhance the checks to apply to QR_EC transactions.

2014-11-02 Thread Lv Zheng
Currently a check is applied to new transactions, but QR_EC transactions are not included. This patch merges the code path to make the check also applying to the QR_EC transactions. Signed-off-by: Lv Zheng Tested-by: Ortwin Glück --- drivers/acpi/ec.c |9 + 1 file changed, 5

[PATCH 4/6] ACPI/EC: Add command flushing support.

2014-11-02 Thread Lv Zheng
This patch implements command flushing support. It's better to wait all command transactions to be completed before disabling the EC GPE when the system is going to be suspended. By doing so, the EC hardware can be ensured to be in the idle state when the system is resumed. There is a good

[PATCH 6/6] ACPI/EC: Add GPE reference counting debugging messages.

2014-11-02 Thread Lv Zheng
This patch enhances debugging with the GPE reference count messages added. No functional changes. Signed-off-by: Lv Zheng --- drivers/acpi/ec.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 7089081..5ac189b 100644 ---

linux-next: Tree for Nov 3

2014-11-02 Thread Stephen Rothwell
Hi all, Changes since 20141031: Linus' tree gained a build failure for which I applied a patch. The staging tree gained conflicts against the vfs tree. The scsi tree gained a build failure so I used the version from next-20141031. The akpm-current tree lost its build failure. Non-merge

Re: [PATCH] UBI: Block: Add blk-mq support

2014-11-02 Thread Ming Lei
On Sun, Nov 2, 2014 at 9:00 PM, Richard Weinberger wrote: > Convert the driver to blk-mq. It is always helpful to include some performance comparison data( randrw, rw) between blk-mq and non-mq. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/block.c | 241 >

Re: [PATCH] drivers: scsi: qla2xxx: Remove redundant declaration in 'qla_gbl.h'

2014-11-02 Thread Saurav Kashyap
Acked-by: Saurav Kashyap >Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and >qla8044_need_reset_handler(). At present, within upstream next kernel >source code, they are only used within "drivers/scsi/qla2xxx/qla_nx2.c". > >The related error and warnings (with

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-02 Thread Darren Hart
On 11/1/14 4:11, Grant Likely wrote: > On Tue, 28 Oct 2014 22:59:57 +0100 > , "Rafael J. Wysocki" > wrote: >> On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: >>> acpi_dev_add_driver_gpios() makes it possible to set up mapping between >>> properties and ACPI GpioIo resources in

Re: [PATCHv3] staging: rtl8188eu: Fix coding style space related ERROR problems

2014-11-02 Thread hejianet
Hi Greg On Thu, 30 Oct 2014 08:29:14 -0700 from gre...@linuxfoundation.org wrote: > On Thu, Oct 30, 2014 at 11:21:41PM +0800, Jia He wrote: >> >From v2: rebased upon gregkh/staging.git >> >From v1: suggested by j...@perches.com, fixed some points not checked >> or not correctly checked by

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-02 Thread David Miller
From: Johannes Weiner Date: Sat, 1 Nov 2014 23:15:54 -0400 > Memory cgroups used to have 5 per-page pointers. To allow users to > disable that amount of overhead during runtime, those pointers were > allocated in a separate array, with a translation layer between them > and struct page. > >

Re: [patch 2/3] mm: page_cgroup: rename file to mm/swap_cgroup.c

2014-11-02 Thread David Miller
From: Johannes Weiner Date: Sat, 1 Nov 2014 23:15:55 -0400 > Now that the external page_cgroup data structure and its lookup is > gone, the only code remaining in there is swap slot accounting. > > Rename it and move the conditional compilation into mm/Makefile. > > Signed-off-by: Johannes

Re: [patch 3/3] mm: move page->mem_cgroup bad page handling into generic code

2014-11-02 Thread David Miller
From: Johannes Weiner Date: Sat, 1 Nov 2014 23:15:56 -0400 > Now that the external page_cgroup data structure and its lookup is > gone, let the generic bad_page() check for page->mem_cgroup sanity. > > Signed-off-by: Johannes Weiner Acked-by: David S. Miller -- To unsubscribe from this

Re: linux-next: build failure in Linus' tree

2014-11-02 Thread David Miller
From: Stephen Rothwell Date: Mon, 3 Nov 2014 15:09:30 +1100 > Hi Linus, > > With Linus' tree, today's linux-next build (powerpc allyesconfig) > failed like this: > > net/bridge/netfilter/nft_reject_bridge.c: In function > 'nft_reject_br_send_v6_unreach': >

linux-next: build failure in Linus' tree

2014-11-02 Thread Stephen Rothwell
Hi Linus, With Linus' tree, today's linux-next build (powerpc allyesconfig) failed like this: net/bridge/netfilter/nft_reject_bridge.c: In function 'nft_reject_br_send_v6_unreach': net/bridge/netfilter/nft_reject_bridge.c:240:3: error: implicit declaration of function 'csum_ipv6_magic'

Linus GIT 3.18.0-rc3: WARNING: CPU: 0 PID: 1063 at mm/vmalloc.c:1440 __vunmap+0x5c/0xc8()

2014-11-02 Thread Miles Lane
Not sure if this is a kernel issue or a Linux distribution issue (Ubuntu 15.04 dev tree). [4.439057] WARNING: CPU: 0 PID: 1063 at mm/vmalloc.c:1440 __vunmap+0x5c/0xc8() [4.439059] Trying to vfree() bad address (c0109cf7) [4.439060] Modules linked in: cdrom [4.439066] CPU:

Re: [PATCH] ipv4: fix comment in net/ipv4/tcp_input.c to reference the correct RFC

2014-11-02 Thread David Miller
From: James Brown Date: Sun, 2 Nov 2014 19:11:00 -0800 > RFC 5691 has to do with MPEG surround-sound; RFC 5961 has to do > with hardening TCP against in-window spoofing attacks > > Signed-off-by: James Brown Already fixed in net-next, thanks. -- To unsubscribe from this list: send the line

Re: [PATCH] ipv4: avoid divide 0 error in tcp_incr_quickack

2014-11-02 Thread Eric Dumazet
On Mon, 2014-11-03 at 09:29 +0800, Chen Weilong wrote: > From: Weilong Chen > > We got a problem like this: > There was a wrong ack packet coming during TCP handshake. The socket's state > was TCP_SYN_RECV, its rcv_mss was not initialize yet. So > tcp_send_dupack -> tcp_enter_quickack_mode got

Re: [PATCH RESEND] ARM: imx: clk-vf610: define PLL's clock tree

2014-11-02 Thread Shawn Guo
On Mon, Oct 27, 2014 at 05:40:44PM +0100, Stefan Agner wrote: > So far, the required PLL's (PLL1/PLL2/PLL5) have been initialized > by boot loader and the kernel code defined fixed rates according > to those default configurations. Beginning with the USB PLL7 the > code started to initialize the

Re: [PATCH] of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text

2014-11-02 Thread Florian Fainelli
Le 01/11/2014 16:35, Bjorn Helgaas a écrit : a9ecdc0fdc54 ("of/irq: Fix lookup to use 'interrupts-extended' property first") updated the description to say that: - Both 'interrupts' and 'interrupts-extended' may be present - Software should prefer 'interrupts-extended' - Software that

[RFC RESEND 03/10] fusbh200: Remove superfluous macro definitions

2014-11-02 Thread Chris Rorvick
The fusbh200_dbg_port struct is a copy of the ehci_dbg_port definition in the header. Embedded in this definition are a number of macros which came along for the ride. These macros are not used in the fusbh200 driver and will conflict those in the new header. Signed-off-by: Chris Rorvick ---

[RFC RESEND 05/10] fusbh200: Use ehci_dbg_port struct

2014-11-02 Thread Chris Rorvick
The FUSBH200 debug port has a EHCI-compatible register layout so there is no need to define a custom struct. Signed-off-by: Chris Rorvick --- drivers/usb/host/fusbh200.h | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/usb/host/fusbh200.h

[RFC RESEND 06/10] fotg210: Make Xen notificaiton consistent with EHCI

2014-11-02 Thread Chris Rorvick
If CONFIG_XEN_DOM0 is enabled, the ehci-dbgp driver notifies Xen of controller reset events via xen_dbgp_reset_prep() and xen_dbgp_external_startup() (via calls to xen_dbgp_op().) Otherwise defines them as no-ops to disable this logic. The fotg210 driver copies much of the dbgp code from

[PATCH] ipv4: fix comment in net/ipv4/tcp_input.c to reference the correct RFC

2014-11-02 Thread James Brown
RFC 5691 has to do with MPEG surround-sound; RFC 5961 has to do with hardening TCP against in-window spoofing attacks Signed-off-by: James Brown --- net/ipv4/tcp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index

[RFC RESEND 00/10] Create separate header for ehci-dbgp driver

2014-11-02 Thread Chris Rorvick
One more attempt at getting some feedback. Original: The FUSBH200 and FOTG210 are not EHCI-compatible and require standalone drivers. See discussion at: http://comments.gmane.org/gmane.linux.usb.general/84169 But these controllers do implement an EHCI-compatible debug port and therefore

[RFC RESEND 02/10] fusbh200: Make Xen notificaiton consistent with EHCI

2014-11-02 Thread Chris Rorvick
If CONFIG_XEN_DOM0 is enabled, the ehci-dbgp driver notifies Xen of controller reset events via xen_dbgp_reset_prep() and xen_dbgp_external_startup() (via calls to xen_dbgp_op().) Otherwise defines them as no-ops to disable this logic. The fusbh200 driver copies much of the dbgp code from

[RFC RESEND 07/10] fotg210: Remove superfluous macro definitions

2014-11-02 Thread Chris Rorvick
The fotg210_dbg_port struct is a copy of the ehci_dbg_port definition in the header. Embedded in this definition are a number of macros which came along for the ride. These macros are not used in the fotg210 driver and will conflict those in the new header. Signed-off-by: Chris Rorvick ---

[RFC RESEND 09/10] fotg210: Use ehci_dbg_port struct

2014-11-02 Thread Chris Rorvick
The FUSBH200 debug port has a EHCI-compatible register layout so there is no need to define a custom struct. Signed-off-by: Chris Rorvick --- drivers/usb/host/fotg210.h | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/usb/host/fotg210.h

Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-11-02 Thread hujianyang
Hi Tanya, On 2014/11/3 1:14, Tanya Brokhman wrote: >> >> This patch add 'struct ubi_device *' for 3 functions. We can get >> 'ubi_device' from >> 'ubi_volume'. So I think it's because when we call these functions, the >> '->ubi' >> pointer of 'ubi_volume' is not initialized, am I right? This

[RFC RESEND 10/10] usb: Remove __init from early_dbgp_init() prototype

2014-11-02 Thread Chris Rorvick
Specifying these attributes in both the prototype and the function definition is unnecessary and could cause confusion or bugs if they are inconsistent. As such, __init should only be specified at the function definition. Keith Owens suggested this as a janitorial task on LKML several years ago:

[RFC RESEND 08/10] fotg210: Remove duplicate ehci-dbgp declarations

2014-11-02 Thread Chris Rorvick
Now that ehci-dbgp has its own header, use it rather than duplicating the declarations, etc. Signed-off-by: Chris Rorvick --- drivers/usb/host/fotg210.h | 40 ++-- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/drivers/usb/host/fotg210.h

[RFC RESEND 04/10] fusbh200: Remove duplicate ehci-dbgp declarations

2014-11-02 Thread Chris Rorvick
Now that ehci-dbgp has its own header, use it rather than duplicating the declarations, etc. Signed-off-by: Chris Rorvick --- drivers/usb/host/fusbh200.h | 40 ++-- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/drivers/usb/host/fusbh200.h

[RFC RESEND 01/10] usb: Create separate header for ehci-dbgp

2014-11-02 Thread Chris Rorvick
The FUSBH200 and FOTG210 controllers implement sufficiently EHCI- compatible debug ports to leverage ehci-dbgp from their respective drivers. Rather than including header, though, they replicate the necessary declarations in their own headers. Move the ehci-dbgp stuff into its own header as a

[PATCH v2 3/3] efi: Capsule update with user helper interface

2014-11-02 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Introducing a kernel module to expose user helper interface for user to upload capsule binaries. This module leverage the request_firmware_nowait() to expose an interface to user. Example steps to load the capsule binary: 1.) echo 1 >

[PATCH v2 2/3] firmware loader: fix hung task warning dump

2014-11-02 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" When using request_firmware_nowait() with FW_ACTION_NOHOTPLUG param to expose user helper interface, if the user do not react immediately, after 120 seconds there will be a hung task warning message dumped as below: [ 3000.784235] INFO: task kworker/0:0:8259 blocked for

肌肤之源企业管理中心

2014-11-02 Thread Kojb
张德明%PDF-1.3 %ÒåÑò 6 0 obj << /ProcSet [/PDF /Text ] /Font << /TT2 4 0 R /TT1 5 0 R >> >> endobj 7 0 obj <> stream xœ•”Mnƒ0…÷HÜÁËvÑtf<¶ÇUTÉ¿ûHœ¡‹J]ô4¹nM“¢‰ŠÂ<žÌû‡8ƒWЯ”ó| ëÕô5¯ÓD Õô1G`(àj–b¸8ô(™¯µÆRMšCÖ.ÔÉÌ÷)T Á ˆc"ɀ‰ßÕôy¿©³›†«ªeÀk†'õ|[Zb¡K

[PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-02 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Hi Guys, This patchset is created on top of "efi: Capsule update support" patch: http://permalink.gmane.org/gmane.linux.kernel.efi/4837 It leverages the request_firmware_nowait() to expose the user helper interface for user to upload the capsule binary and calling the

[PATCH v2 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-11-02 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Besides aborting through user helper interface, a new API request_firmware_abort() allows kernel driver module to abort the request_firmware() / request_firmware_nowait() when they are no longer needed. It is useful for cancelling an outstanding firmware load if

[PATCH v7 1/3] iommu/rockchip: rk3288 iommu driver

2014-11-02 Thread Daniel Kurtz
The rk3288 has several iommus. Each iommu belongs to a single master device. There is one device (ISP) that has two slave iommus, but that case is not yet supported by this driver. At subsys init, the iommu driver registers itself as the iommu driver for the platform bus. The master devices

[PATCH v7 2/3] dt-bindings: iommu: Add documentation for rockchip iommu

2014-11-02 Thread Daniel Kurtz
Add binding documentation for Rockchip IOMMU. Signed-off-by: Daniel Kurtz Signed-off-by: Simon Xue Reviewed-by: Heiko Stuebner --- .../devicetree/bindings/iommu/rockchip,iommu.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v7 3/3] ARM: dts: rk3288: add VOP iommu nodes

2014-11-02 Thread Daniel Kurtz
Add device nodes for the VOP iommus. Device nodes for other iommus will be added in later patches. The iommu nodes use the #iommu-cells property as described in: Documentation/devicetree/bindings/iommu/iommu.txt Signed-off-by: Daniel Kurtz Signed-off-by: Simon Xue ---

linux-next: build failure after merge of the scsi tree

2014-11-02 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/scsi/scsi_lib.c: In function 'scsi_io_completion': drivers/scsi/scsi_lib.c:1048:5: error: implicit declaration of function 'SCSI_LOG_LEVEL' [-Werror=implicit-function-declaration]

linux-next: manual merge of the staging tree with the vfs tree

2014-11-02 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/lustre/lustre/llite/namei.c between commits 8da673df2d77 ("ll_get_child_fid(): callers already have the child") and ("kill ll_unlink_generic()") from the vfs tree and commit 2a80f844158b ("Staging: lustre:

Re: [PATCH RFC] sched/deadline: support dl task migrate during cpu hotplug

2014-11-02 Thread Wanpeng Li
Hi Juri, On Fri, Oct 31, 2014 at 11:42:23AM +, Juri Lelli wrote: >Hi, > >On 31/10/14 07:28, Wanpeng Li wrote: >> Hi all, >> >> I observe that dl task can't be migrated to other cpus during cpu hotplug, >> in >> addition, task may/may not be running again if cpu is added back. The root >>

linux-next: manual merge of the staging tree with the vfs tree

2014-11-02 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/lustre/lustre/llite/llite_lib.c between commit 94b5670e78ce ("move d_rcu from overlapping d_child to overlapping d_alias") from the vfs tree and commit cf29a7b6eae8 ("Staging: lustre: Fix checkpatch warning:

linux-next: manual merge of the staging tree with the vfs tree

2014-11-02 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/lustre/lustre/llite/file.c between commit bc281d072ba9 ("lustre: opened file can't have negative dentry") from the vfs tree and commit 57303e76c225 ("staging: lustre: Fix checkpatch.pl spacing-related errors")

[PATCH] pinctrl: Fix path error in documentation

2014-11-02 Thread Yingjoe Chen
Fix pinconfig include file path. Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt

Re: [PATCH RESEND] tty: serial: 8250_mtk: Fix quot calculation

2014-11-02 Thread eddie huang
On Fri, 2014-10-31 at 17:48 +0100, Arnd Bergmann wrote: > On Friday 31 October 2014 17:36:35 Matthias Brugger wrote: > > - quot = DIV_ROUND_CLOSEST(port->uartclk, 256 * baud); > > + quot = (port->uartclk / (256 * baud)) + 1; > > Should this be DIV_ROUND_UP then? > >

Re: [PATCH RFC] sched/deadline: support dl task migrate during cpu hotplug

2014-11-02 Thread Wanpeng Li
Hi Kirill, On Fri, Oct 31, 2014 at 12:20:29PM +0300, Kirill Tkhai wrote: >В Пт, 31/10/2014 в 15:28 +0800, Wanpeng Li пишет: >> Hi all, >> >> I observe that dl task can't be migrated to other cpus during cpu hotplug, >> in >> addition, task may/may not be running again if cpu is added back. The

RE: [RFC V6 3/3] arm64:add bitrev.h file to support rbit instruction

2014-11-02 Thread Wang, Yalin
> From: Will Deacon [mailto:will.dea...@arm.com] > > +#ifndef __ASM_ARM64_BITREV_H > > +#define __ASM_ARM64_BITREV_H > > Really minor nit, but we don't tend to include 'ARM64' in our header guards, > so this should just be __ASM_BITREV_H. > > With that change, > > Acked-by: Will Deacon > I

Re: [PATCH v8 00/10] sched: consolidation of CPU capacity and usage

2014-11-02 Thread Wanpeng Li
Hi Vincent, On 14/10/31 下午4:47, Vincent Guittot wrote: This patchset consolidates several changes in the capacity and the usage tracking of the CPU. It provides a frequency invariant metric of the usage of CPUs and generally improves the accuracy of load/usage tracking in the scheduler. The

[PATCH] regulator: adding disable options for regulator-always-on and regulator-boots-on

2014-11-02 Thread Hugh Kang
From: "hugh.kang" If a regulator is set by always-on option, the regulator will be set forever. For example, suppose LDO1 is set to always-on at RevA.dts with including of a.dtsi. After that RevB.dts may wants to include the same a.dtsi but override the LDO1 always-on option. However,

[PATCH] ipv4: avoid divide 0 error in tcp_incr_quickack

2014-11-02 Thread Chen Weilong
From: Weilong Chen We got a problem like this: [8801c1a05570] machine_kexec at 81025039 [8801c1a055d0] crash_kexec at 8109b253 [8801c1a056a0] oops_end at 81442aed [8801c1a056d0] die at 81005603 [8801c1a05700] do_trap at 81442448

Re: [PATCH] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-11-02 Thread Bo Shen
Hi Mark, On 11/01/2014 02:12 AM, Mark Brown wrote: On Fri, Oct 24, 2014 at 09:25:59PM +0200, Peter Rosin wrote: The CMR divider register is shared by playback and capture. The SSC driver therefore tries to enforce rules so that the needed register content do not conflict during simultaneous

Re: [PATCH 3.2 023/102] block: Fix dev_t minor allocation lifetime

2014-11-02 Thread Jens Axboe
On 2014-11-01 17:48, Ben Hutchings wrote: On Sat, 2014-11-01 at 17:18 -0600, Jens Axboe wrote: On 2014-11-01 16:28, Ben Hutchings wrote: 3.2.64-rc1 review patch. If anyone has any objections, please let me know. -- From: Keith Busch commit

[PATCH v3] mmc: dw_mmc: add support for the other bit of sdio interrupt

2014-11-02 Thread Addy Ke
The bit of sdio interrupt is 16 in designware implementation, but it is 24 on Rockchip SoCs.This patch add sdio_id0 for the number of slot0 in the SDIO interrupt registers. Signed-off-by: Addy Ke --- Changes in v2: - rebase on http://git.linaro.org/git/people/ulf.hansson/mmc.git, next branch

Re: [PATCH] UBI: Block: Add blk-mq support

2014-11-02 Thread Jens Axboe
On 2014-11-02 15:49, Richard Weinberger wrote: AFAICT blk-mq allocates one struct ubiblock_pdu per device. As all IO is done via scattergather the memory footprint should be good. But I'm sure Christoph can tell you the glory details. That is true, the request list and pdu is allocated

Re: [PATCH] UBI: Block: Add blk-mq support

2014-11-02 Thread Jens Axboe
On 2014-11-02 14:52, Ezequiel Garcia wrote: Hi Richard, On 11/02/2014 10:00 AM, Richard Weinberger wrote: Convert the driver to blk-mq. Maybe you can explain a bit better what's this all about? Both the commit that introduces blk-mq and the paper on it talk about high IOPS devices,

  1   2   3   4   5   6   >