答复: Bug#757733: RTS2557 SD card reader does not work

2014-08-10 Thread 王炜
> -邮件原件- > 发件人: Philipp Hagemeister [mailto:phi...@phihag.de] > 发送时间: 2014年8月11日 9:10 > 收件人: Ben Hutchings; 王炜 > 抄送: 757...@bugs.debian.org; LKML > 主题: Re: Bug#757733: RTS2557 SD card reader does not work > > > A web search shows some similar reports (e.g. > >

Re: Is spin_is_locked() safe to use with BUG_ON()/WARN_ON()?

2014-08-10 Thread sanjeev sharma
Hello All, I think still this is not being replaced with assert_spin_lock_held() call as suggested by Linus.It is worth to replace these calls. Sanjeev Sharma -- View this message in context: http://linux-kernel.2935.n7.nabble.com/Is-spin-is-locked-safe-to-use-with-BUG-ON-WARN-ON-tp654800p921

3.15 btrfs free space cache oops

2014-08-10 Thread Daniel J Blueman
When running MonetDB against a BTRFS RAID-0 set over 4 SSDs [1] on 3.15.5, we see io_ctl have a bad address of 0x20, causing a fatal pagefault in memcpy(): (gdb) list *(__btrfs_write_out_cache+0x3e4) 0x81365984 is in __btrfs_write_out_cache (fs/btrfs/free-space-cache.c:521). 516

Re: [alsa-devel] [PATCH v3] ASOC: dapm: add code to configure dai link parameters

2014-08-10 Thread Vinod Koul
On Thu, Aug 07, 2014 at 06:13:24PM +0100, Mark Brown wrote: > On Thu, Aug 07, 2014 at 07:46:05PM +0530, Vinod Koul wrote: > > > I was thinking about this as well a while back, wont it make sense to let > > machine driver expose meaningful controls for this. Just like we have fixup > > for back-end

Re: [PATCH 2/3] crypto: testmgr.c: white space removal on __test_skcipher

2014-08-10 Thread Cristian Stoica
Hi Horia, On 10.08.2014 11:57, Horia Geantă wrote: > On 8/8/2014 2:27 PM, Cristian Stoica wrote: > Don't add more checkpatch warnings on top of existing ones. I've weighted all the checkpatch warnings and errors introduced by these patches and I've found them fair versus Linux coding style guide.

Re: [sched] Out of memory: Kill process 2999 (rc) score 9 or sacrifice child

2014-08-10 Thread Kirill Tkhai
10.08.2014, 19:31, "Oleg Nesterov" : > On 08/09, Peter Zijlstra wrote: >>  That would suggest we're failing to do the TASK_DEAD thing properly, and >>  ARGH! bloody obvious why, see the this_rq() comment right before the >>  finish_task_switch() call in context_switch(). > > Off-topic, but perhap

Re: [PATCH] scsi: Fix qemu boot hang problem

2014-08-10 Thread Hannes Reinecke
On 08/10/2014 02:54 PM, Guenter Roeck wrote: The latest kernel fails to boot qemu arm images when using scsi for disk access. Boot gets stuck after the following messages. brd: module loaded sym53c8xx :00:0c.0: enabling device (0100 -> 0103) sym0: <895a> rev 0x0 at pci :00:0c.0 irq 93 sy

[PATCH] drivers: staging: vt6655: wpactl.c checkpatch clean-up

2014-08-10 Thread Avinash kumar
Cleaned all C99 comments related warnings Signed-off-by: Avinash kumar --- drivers/staging/vt6655/wpactl.c | 40 +++ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/staging/vt6655/wpactl.c b/drivers/staging/vt6655/wpactl.c index 8392

[GIT PULL] slave dmaengine updates

2014-08-10 Thread Vinod Koul
Hi Linus, Here is the pull request for 3.17. Some notable changes are: - New driver for AMBA AXI NBPF by Guennadi - New driver for sun6i controller by Maxime - pl330 drivers fixes from Lar's - sh-dma updates and fixes from Laurent, Geert and Kuninori - Documentation updates from Geert - dri

Re: [PATCH] Documentation: DocBook: Rename drm_stub.c to drm_drv.c cause 'make xmldocs' failed

2014-08-10 Thread Randy Dunlap
On 08/08/14 12:16, Masanari Iida wrote: > This patch fixed 'make xmldocs' failed on linus's tree and > linux-next as of 8th/Aug,2014. > > When drm merge for 3.17-rc1 happen, a file was renamed from > drm_stub.c to drm_drv.c. > But Documentation/DocBook/drm.tmpl still have an old file name. > > S

[GIT PULL] thermal management updates for v3.17-rc1

2014-08-10 Thread Zhang Rui
Hi, Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive Thermal Management updates for v3.17-rc1 with top-most commit 47d104ba5879790c7c91c3390b0b08399e168efe: Merge branches 'exynos-fix', 'for-rc', 'int3403-fix', 'misc', 'rcar-thermal' an

Re: One bug of SDHCI driver

2014-08-10 Thread Fu, Zhonghui
Hi, everyone I have posted this new patch in a separate mail. Many thanks for your comments. Thanks, Zhonghui On 2014/8/7 14:58, Fu, Zhonghui wrote: > kindly reminder. > > Thanks, > Zhonghui > > On 2014/8/5 12:56, Fu, Zhonghui wrote: >> Hi, Jaehoon >> >> According to your comments, I created a

linux-next: Tree for Aug 11

2014-08-10 Thread Stephen Rothwell
Hi all, Please do not add code intended for v3.18 until after v3.17-rc1 is released. Changes since 20140808: The ext3 tree lost its build failure. The pm tree gained conflicts against Linus' tree and a build failure for which I applied a merge fix patch. The mmc-uh tree still had its build fai

Re: [PATCH] proc: potential ERR_PTR dereference on proc_fill_cache()

2014-08-10 Thread DaeSeok Youn
2014-08-11 12:25 GMT+09:00 Eric W. Biederman : > Daeseok Youn writes: > >> The d_hash_and_lookup() returns NULL or ERR_PTR on lookup >> failure. > > Given that the only error condition can come from .d_hash and that proc > does not implement .d_hash if we want to do something with error returns >

[PATCH] mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread

2014-08-10 Thread Fu, Zhonghui
>From 6cee984e1d76ba0a3320430f8cf4318ab65fcf06 Mon Sep 17 00:00:00 2001 From: Fu Zhonghui Date: Tue, 5 Aug 2014 12:44:38 +0800 Subject: [PATCH] mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread 781e989cf59 ("mmc: sdhci: convert to new SDIO IRQ handling") and bf3b5ec66bd ("mmc:

Re: [PATCH v3 00/23] perf: Add infrastructure and support for Intel PT

2014-08-10 Thread Ingo Molnar
* Alexander Shishkin wrote: > Hi Peter and all, > > Here's a new version of PT support patchset, this time including PT and > BTS drivers and a few more tweaks to the core. I still left out some bits > like core dump support for now. Tooling support is not included in this > series so that it's

Re: [PATCH] drivers: staging: vt6655: wpactl.c checkpatch clean-up

2014-08-10 Thread Greg KH
On Sun, Aug 10, 2014 at 11:28:55PM +0530, Avinash kumar wrote: > Cleaned all C99 comments related warnings > > Signed-off-by :Avinash Kumar > > Signed-off-by: Avinash kumar Why is this line twice in here, the first one has the ':' in the wrong place. Please resend with it the line only once i

RE: [PATCH 01/38] cris: fix headers_install

2014-08-10 Thread Mikael Starvik
Nice! Acked-by: Mikael Starvik -Original Message- From: Sam Ravnborg [mailto:s...@ravnborg.org] Sent: den 14 juli 2014 17:08 To: Arnd Bergmann Cc: lkml; linux-arch; Sam Ravnborg; Mikael Starvik; Jesper Nilsson; David Howells Subject: [PATCH 01/38] cris: fix headers_install Fix headers

RE: [PATCH 06/43] cris: Use get_signal() signal_setup_done()

2014-08-10 Thread Mikael Starvik
Acked-by: Mikael Starvik -Original Message- From: Richard Weinberger [mailto:rich...@sigma-star.at] Sent: den 21 juli 2014 16:03 To: a...@linux-foundation.org Cc: linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org; Richard Weinberger; Mikael Starvik; Jesper Nilsson; linux-cris-ker

Re: [PATCH RESEND] staging: et131x: Fix errors caused by phydev->addr accesses before initialisation

2014-08-10 Thread gre...@linuxfoundation.org
On Mon, Aug 11, 2014 at 12:32:55AM +0300, Anca Emanuel wrote: > Do you have this hardware ? And did you test this ? Mark is the maintainer of this driver, I assume he has the hardware, if not, I don't care, I trust him :) > How can you cc stable without an Tested by somebody else ? Since when is

Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions

2014-08-10 Thread Bjorn Andersson
On Wed, Aug 6, 2014 at 8:02 AM, Ivan T. Ivanov wrote: > On Fri, 2014-07-25 at 18:15 +0300, Ivan T. Ivanov wrote: >> On Thu, 2014-07-24 at 17:23 -0700, Stephen Boyd wrote: >> > On 07/24/14 08:40, Linus Walleij wrote: >> > > On Thu, Jul 24, 2014 at 1:47 AM, Stephen Boyd >> > > wrote: >> > > >> > >

Re: [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files

2014-08-10 Thread Jan Kiszka
On 2014-08-06 16:27, Daniel Thompson wrote: > Using the gdb scripts leaves byte-compiled python files in the scripts/ > directory. These should be ignored by git and cleaned up by mrproper. > > Signed-off-by: Daniel Thompson > Cc: Jan Kiszka > Cc: Michal Marek > Cc: linux-kbu...@vger.kernel.org

[PATCH v3 23/23] perf: itrace: Allow sampling of inherited events

2014-08-10 Thread Alexander Shishkin
Try to find an itrace sampler event for the current event if none is linked. This is useful when these events are allocated by inheritance path, independently of one another. Signed-off-by: Alexander Shishkin --- kernel/events/itrace.c | 91 +- 1 f

[PATCH v3 22/23] perf: itrace: Allow itrace sampling for multiple events

2014-08-10 Thread Alexander Shishkin
Right now, only one perf event can be annotated with itrace data, however it should be possible to annotate several events with similar configuration (wrt exclude_{hv,idle,user,kernel}, itrace_config, etc). So every time, before a kernel counter is created for itrace sampling, we first look for an

RE: [PATCH] cris: bug: add unreachable() to silence warnings

2014-08-10 Thread Mikael Starvik
Agreed. If you include that, I will ack it -Original Message- From: Maurizio Lombardi [mailto:mlomb...@redhat.com] Sent: den 7 augusti 2014 09:24 To: Nick Krause; Mikael Starvik; Jesper Nilsson; o...@axis.com; list@; open list Subject: Re: [PATCH] cris: bug: add unreachable() to silence w

[PATCH v3 21/23] perf: Allocate ring buffers for inherited per-task kernel events

2014-08-10 Thread Alexander Shishkin
When a new event is inherited from a per-task kernel event that has a ring buffer, allocate a new buffer for this event so that data from the child task is collected and can later be retrieved for sample annotation or whatnot. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 9 +

Re: [PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-10 Thread Greg KH
On Mon, Aug 11, 2014 at 05:21:50AM +, Chen, Alvin wrote: > Hi Felipe, > > Any update for this patch? Just want to follow-up. It's the middle of the merge window, we can't do anything until 3.17-rc1 is out, please relax... greg k-h -- To unsubscribe from this list: send the line "unsubscribe

RE: [PATCH 17/38] cris: clean-up uapi Kbuild file

2014-08-10 Thread Mikael Starvik
Acked-by: Mikael Starvik -Original Message- From: Sam Ravnborg [mailto:s...@ravnborg.org] Sent: den 14 juli 2014 17:09 To: Arnd Bergmann Cc: lkml; linux-arch; Sam Ravnborg; Mikael Starvik; Jesper Nilsson Subject: [PATCH 17/38] cris: clean-up uapi Kbuild file Remove redundant assignments

Re: [PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Uwe Kleine-König
Hello Guenter, On Sun, Aug 10, 2014 at 11:42:41AM -0700, Guenter Roeck wrote: > On 08/10/2014 11:36 AM, Uwe Kleine-König wrote: > >On Sun, Aug 10, 2014 at 09:19:14AM -0700, Guenter Roeck wrote: > >>powerpc:mpc83xx_defconfig and other builds fail with > >> > >>drivers/net/ethernet/freescale/ucc_get

[PATCH v3 20/23] perf: itrace: Infrastructure for sampling instruction flow traces

2014-08-10 Thread Alexander Shishkin
Instruction tracing PMUs are capable of recording a log of instruction execution flow on a cpu core, which can be useful for profiling and crash analysis. This patch adds itrace infrastructure for perf events and the rest of the kernel to use. This trace data can be used to annotate other perf eve

[PATCH v3 17/23] perf: Add rb_{alloc,free}_kernel api

2014-08-10 Thread Alexander Shishkin
Events that generate AUX data can also be created by the kernel. In this case, some in-kernel infrastructure is needed to store and copy this data. This patch adds api for ring buffer (de-)allocation that can be used by the kernel code. Signed-off-by: Alexander Shishkin --- kernel/events/intern

[PATCH v3 16/23] x86: perf: intel_bts: Add BTS PMU driver

2014-08-10 Thread Alexander Shishkin
Add support for Branch Trace Store (BTS) via kernel perf event infrastructure. The difference with the existing implementation of BTS support is that this one is a separate PMU that exports events' trace buffers to userspace by means of AUX area of the perf buffer, which is zero-copy mapped into us

[PATCH v3 14/23] x86: perf: Intel PT and LBR/BTS are mutually exclusive

2014-08-10 Thread Alexander Shishkin
Intel PT cannot be used at the same time as LBR or BTS and will cause a general protection fault if they are used together. In order to avoid fixing up GPs in the fast path, instead we use flags to indicate that that one of these is in use so that the other avoids MSR access altogether. Signed-off

[PATCH v3 19/23] perf: Add a helper for looking up pmus by type

2014-08-10 Thread Alexander Shishkin
This patch adds a helper for looking up a registered pmu by its type. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index d4b5e33b74..c0f05f8748 100644 -

[PATCH v3 18/23] perf: Add a helper to copy AUX data in the kernel

2014-08-10 Thread Alexander Shishkin
This patch adds a helper for the kernel counters that generate AUX data to copy this data around, for example, to output it to the perf ring buffer as a sample record or write it to a core dump file. Signed-off-by: Alexander Shishkin --- kernel/events/internal.h| 5 + kernel/events/ring

[PATCH v3 13/23] x86: Add Intel Processor Trace (INTEL_PT) cpu feature detection

2014-08-10 Thread Alexander Shishkin
Intel Processor Trace is an architecture extension that allows for program flow tracing. Signed-off-by: Alexander Shishkin --- arch/x86/include/asm/cpufeature.h | 1 + arch/x86/kernel/cpu/scattered.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/include/asm/cpufeature.h b/arc

[PATCH v3 11/23] perf: Add itrace_config to the event attribute

2014-08-10 Thread Alexander Shishkin
To configure itrace events, we use a separate config field in the attribute, which can be used by normal and sampling counters. The latter will use config to specify the actual event and itrace_config for itrace configuration that will be used for sampling. Signed-off-by: Alexander Shishkin ---

[PATCH v3 15/23] x86: perf: intel_pt: Intel PT PMU driver

2014-08-10 Thread Alexander Shishkin
Add support for Intel Processor Trace (PT) to kernel's perf events. PT is an extension of Intel Architecture that collects information about software execuction such as control flow, execution modes and timings and formats it into highly compressed binary packets. Even being compressed, these packe

[PATCH v3 12/23] perf: add ITRACE_START record to indicate that tracing has started

2014-08-10 Thread Alexander Shishkin
For counters such as instruction tracing, it is useful for the decoder to know which tasks are running when the event is first scheduled in, before the first sched_switch. Signed-off-by: Alexander Shishkin --- include/linux/perf_event.h | 3 +++ include/uapi/linux/perf_event.h | 11 +++

[PATCH v3 10/23] perf: Add wakeup watermark control to AUX area

2014-08-10 Thread Alexander Shishkin
When AUX area gets a certain amount of new data, we want to wake up userspace to collect it. This adds a new control to specify how much data will cause a wakeup. We repurpose __reserved_2 in the event attribute for this, even though it was never checked to be zero before, aux_watermark will only

[PATCH v3 08/23] perf: Add AUX record

2014-08-10 Thread Alexander Shishkin
When there's new data in the AUX space, output a record indicating its offset and size and weather it was truncated to fix in the ring buffer. Signed-off-by: Alexander Shishkin --- include/uapi/linux/perf_event.h | 16 kernel/events/core.c| 39 +++

[PATCH v3 06/23] perf: Redirect output from inherited events to parents

2014-08-10 Thread Alexander Shishkin
In order to collect AUX data from an inherited event, we can redirect its output to parent's ring buffer if possible (they must be cpu affine). This patch adds set_output() to the inheritance path. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 6 ++ 1 file changed, 6 insertion

[PATCH v3 07/23] perf: Add api for pmus to write to AUX space

2014-08-10 Thread Alexander Shishkin
For pmus that wish to write data to AUX space, provide perf_aux_output_{begin,end}() calls to initiate/commit data writes, similarly to perf_output_{begin,end}. These also use the same output handle structure. After the perf_aux_output_begin() returns successfully, handle->size is set to the maxim

[PATCH v3 09/23] perf: Support overwrite mode for AUX area

2014-08-10 Thread Alexander Shishkin
This adds support for overwrite mode in the AUX area, which means "keep collecting data till you're stopped". It does not depend on data buffer's overwrite mode, so that it doesn't lose sideband data that is instrumental for processing AUX data. Signed-off-by: Alexander Shishkin --- kernel/event

[PATCH v3 05/23] perf: Add a pmu capability for "exclusive" events

2014-08-10 Thread Alexander Shishkin
Usually, pmus that do, for example, instruction tracing, would only ever be able to have one event per task per cpu (or per perf_context). For such pmus it makes sense to disallow creating conflicting events early on, so as to provide consistent behavior for the user. This patch adds a pmu capabil

Re: [GIT PULL] x86/apic changes for v3.17

2014-08-10 Thread Jiang Liu
On 2014/8/10 1:06, Borislav Petkov wrote: > On Fri, Aug 08, 2014 at 03:21:44PM -0700, David Rientjes wrote: >> On Thu, 7 Aug 2014, Ingo Molnar wrote: >> >>> Linus, please pull the latest x86-apic-for-linus git tree from: >>> >>>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git >>> x8

[PATCH v3 04/23] perf: Add a capability for AUX_NO_SG pmus to do software double buffering

2014-08-10 Thread Alexander Shishkin
For pmus that don't support scatter-gather for AUX data in hardware, it might still make sense to implement software double buffering to avoid losing data while the user is reading data out. For this purpose, add a pmu capability that guarantees multiple high-order chunks for AUX buffer, so that th

[PATCH v3 03/23] perf: Support high-order allocations for AUX space

2014-08-10 Thread Alexander Shishkin
Some pmus (such as BTS or Intel PT without multiple-entry ToPA capability) don't support scatter-gather and will prefer larger contiguous areas for their output regions. This patch adds a new pmu capability to request higher order allocations. Signed-off-by: Alexander Shishkin --- include/linux

[PATCH v3 02/23] perf: Add AUX area to ring buffer for raw data streams

2014-08-10 Thread Alexander Shishkin
From: Peter Zijlstra This patch introduces "AUX space" in the perf mmap buffer, intended for exporting high bandwidth data streams to userspace, such as instruction flow traces. AUX space is a ring buffer, defined by aux_{offset,size} fields in the user_page structure, and read/write pointers au

[PATCH v3 01/23] perf: Add data_{offset,size} to user_page

2014-08-10 Thread Alexander Shishkin
Currently, the actual perf ring buffer is one page into the mmap area, following the user page and the userspace follows this convention. This patch adds data_{offset,size} fields to user_page that can be used by userspace instead for locating perf data in the mmap area. This is also helpful when m

[PATCH v3 00/23] perf: Add infrastructure and support for Intel PT

2014-08-10 Thread Alexander Shishkin
Hi Peter and all, Here's a new version of PT support patchset, this time including PT and BTS drivers and a few more tweaks to the core. I still left out some bits like core dump support for now. Tooling support is not included in this series so that it's easier to review the kernel bits, I suppos

Re: [PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-10 Thread Chen, Alvin
Hi Felipe, Any update for this patch? Just want to follow-up. > -Original Message- > From: Chen, Alvin > Sent: Tuesday, August 05, 2014 1:23 AM > To: Felipe Balbi > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ong, Boon > Leong > Subject: [PATCH] USB: pch_udc: USB gadget

RE: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

2014-08-10 Thread Chen, Alvin
Hi Ulf, Any update for this patch? Just want to follow-up. Best regards,Alvin Chen ICFS Platform Engineering Solution Flex Services (CMMI Level 3, IQA2005, IQA2008), Greater Asia Region Intel Information Technology Tel. 010-82171960 inet.8-7581960 Email. alvin.c...@intel.com > -Original

回复: Re: [PATCH] unicore32: Fix build error

2014-08-10 Thread Xuetao Guan
- Guenter Roeck 写道: > On 08/10/2014 08:39 AM, Richard Weinberger wrote: > > Guenther, > > > > Am 10.08.2014 17:29, schrieb Guenter Roeck: > >> unicore32 builds fail with > >> > >> arch/unicore32/kernel/signal.c: In function ‘setup_frame’: > >> arch/unicore32/kernel/signal.c:257: error: > >>

[GIT PULL REQUEST] md updates for 3.17

2014-08-10 Thread NeilBrown
The following changes since commit 64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91: Linux 3.16-rc7 (2014-07-27 12:41:55 -0700) are available in the git repository at: git://neil.brown.name/md/ tags/md/3.17 for you to fetch changes up to d66b1b395a59027a1c054e1fc57d582cb4194491: md: don't allow

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-10 Thread Bill Fink
On Sun, 10 Aug 2014, Florian Fainelli wrote: > Le 10/08/2014 20:23, Dexuan Cui a écrit : > >> -Original Message- > >> From: Greg KH [mailto:gre...@linuxfoundation.org] > > > > IMO the most feasible and need-the-least-change solution may be: > > the hyperv network VSC driver pas

[PATCH] drm: Do not use BUG_ON(!spin_is_locked())

2014-08-10 Thread Guenter Roeck
spin_is_locked() always returns false in uniprocessor configurations and can therefore not be used with BUG_ON. Replace it with assert_spin_locked(), which exists for that very purpose. Signed-off-by: Guenter Roeck --- drivers/gpu/drm/msm/mdp/mdp_kms.c | 2 +- drivers/gpu/drm/nouveau/co

Re: [proc:] 3.16.0-10436-g9138475: access denied to /proc/1540/task/1540/net/dev

2014-08-10 Thread Linus Torvalds
On Sun, Aug 10, 2014 at 1:05 PM, Eric W. Biederman wrote: > > Linus would you like me to send pull request with those two changes reverted? I just did them (delayed it a bit in the hope to get confirmation, but it looks very straightforward, so since I'll be on airplanes most of tomorrow..)

[PATCH V2] Add arm description to Documentation/kdump/kdump.txt

2014-08-10 Thread HuKeping
Add arm specific parts to kdump kernel documentation. It seem that we prefer to use nr_cpus=1 instead of maxcpus=1. but nr_cpus does not work fine on arm. There will be a warning when dump-caputre kernel booting if use nr_cpus: "[0.00] DT/cpu 2nod

Re: [tip:timers/core] timekeeping: Fixup typo in update_vsyscall_old definition

2014-08-10 Thread Benjamin Herrenschmidt
On Wed, 2014-07-30 at 00:31 -0700, tip-bot for John Stultz wrote: > Commit-ID: 953dec21aed4038464fec02f96a2f1b8701a5bce > Gitweb: http://git.kernel.org/tip/953dec21aed4038464fec02f96a2f1b8701a5bce > Author: John Stultz > AuthorDate: Fri, 25 Jul 2014 21:37:19 -0700 > Committer: Thomas Gle

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-10 Thread Florian Fainelli
Le 10/08/2014 20:23, Dexuan Cui a écrit : -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] IMO the most feasible and need-the-least-change solution may be: the hyperv network VSC driver passes the event RNDIS_STATUS_NETWORK_CHANGE to the udev daemon? No, don't do t

Re: linux-next: build failures after merge of the drm tree

2014-08-10 Thread Sachin Kamat
On Sun, Aug 10, 2014 at 1:28 PM, Dave Airlie wrote: >> > > Been on holidays, but ack for anything DT related, > > Look I wishI knew how DT worked, and what tree is canonical for changes to > it, I'm not sure its well defined enough or sub maintaniers know enough, > so I do just trust the exynos gu

[PATCH] firmware: Do not use WARN_ON(!spin_is_locked())

2014-08-10 Thread Guenter Roeck
spin_is_locked() always returns false for uniprocessor configurations, so do not use WARN_ON with it. WARN_ON_SMP() exists for that very purpose and must be used instead. Signed-off-by: Guenter Roeck --- drivers/firmware/efi/vars.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) d

[PATCH] seccomp: Replace BUG(!spin_is_locked()) with assert_spin_lock

2014-08-10 Thread Guenter Roeck
Current upstream kernel hangs with mips and powerpc targets in uniprocessor mode if SECCOMP is configured. Bisect points to commit dbd952127d11 ("seccomp: introduce writer locking"). Turns out that code such as BUG_ON(!spin_is_locked(&list_lock)); can not be used in uniprocessor mode becau

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-10 Thread Paul E. McKenney
On Sun, Aug 10, 2014 at 05:00:05PM +0200, Peter Zijlstra wrote: > On Sat, Aug 09, 2014 at 06:38:29PM -0700, Paul E. McKenney wrote: > > On Sat, Aug 09, 2014 at 08:33:55PM +0200, Peter Zijlstra wrote: > > > On Fri, Aug 08, 2014 at 01:58:26PM -0700, Paul E. McKenney wrote: > > > > > > > > > And on t

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-10 Thread Paul E. McKenney
On Sun, Aug 10, 2014 at 10:12:54AM +0200, Peter Zijlstra wrote: > On Sat, Aug 09, 2014 at 06:26:12PM -0700, Paul E. McKenney wrote: > > On Sat, Aug 09, 2014 at 08:19:20PM +0200, Peter Zijlstra wrote: > > > On Sat, Aug 09, 2014 at 09:01:37AM -0700, Paul E. McKenney wrote: > > > > > That's so wrong i

Re: [PATCH] export the function kmap_flush_unused.

2014-08-10 Thread Zhang, Yanmin
On 2014/8/11 9:26, Sha, Ruibin wrote: Hi Chintan, Thank you very much for your timely and kindly response and comments. Here is more detail about our Scenario: We have a big driver on Android product. The driver allocates lots of DDR pages. When applications mmap a file exported from

Re: [RFC PATCH] Flipped jump labels

2014-08-10 Thread Jason Baron
On 08/10/2014 12:07 PM, Borislav Petkov wrote: > On Sun, Aug 10, 2014 at 05:45:15PM +0200, Ingo Molnar wrote: >> Indeed - but could we use that interface to cleanly expose the >> arch_static_branch_active() code you've written, or do we need new >> variants? > We could probably. > > The thing is, i

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-10 Thread Paul E. McKenney
On Sun, Aug 10, 2014 at 10:14:25AM +0200, Peter Zijlstra wrote: > On Sat, Aug 09, 2014 at 06:29:24PM -0700, Paul E. McKenney wrote: > > On Sat, Aug 09, 2014 at 08:24:00PM +0200, Peter Zijlstra wrote: > > > On Sat, Aug 09, 2014 at 08:19:20PM +0200, Peter Zijlstra wrote: > > > > How about we simply a

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-10 Thread Dexuan Cui
> -Original Message- > From: Dexuan Cui > Sent: Monday, August 11, 2014 11:24 AM > Now I understand it's not good to pass the event to the udev daemon, > and it's not good to use a SLEEP(10s) in the kernel space(even if it's in a > "work" task here). > > Please let me know if it's the corr

Re: [PATCH] proc: potential ERR_PTR dereference on proc_fill_cache()

2014-08-10 Thread Eric W. Biederman
Daeseok Youn writes: > The d_hash_and_lookup() returns NULL or ERR_PTR on lookup > failure. Given that the only error condition can come from .d_hash and that proc does not implement .d_hash if we want to do something with error returns let's call BUG_ON. aka: diff --git a/fs/proc/base.c b/fs/p

Re: staging: rtl8192ee: fix %d confusingly prefixed with 0x in format strings

2014-08-10 Thread Hans Wennborg
Re-sending patch based off of https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging -- 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 http://vger.kernel.org/majordomo-info.html

[PATCH] staging: rtl8192ee: fix %d confusingly prefixed with 0x in format strings

2014-08-10 Thread Hans Wennborg
Signed-off-by: Hans Wennborg --- drivers/staging/rtl8192ee/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192ee/pci.c b/drivers/staging/rtl8192ee/pci.c index 0215aef..349e636 100644 --- a/drivers/staging/rtl8192ee/pci.c +++ b/drivers/staging/rt

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-10 Thread Paul E. McKenney
On Sun, Aug 10, 2014 at 06:46:33PM +0200, Peter Zijlstra wrote: > On Sun, Aug 10, 2014 at 10:12:54AM +0200, Peter Zijlstra wrote: > > > Steven covered this earlier in this thread. One addition might be "For > > > the same reason that event tracing provides the _rcuidle suffix." > > > > I really d

Re: [PATCH 16/19] staging: rtl8192ee: fix %d confusingly prefixed with 0x in format strings

2014-08-10 Thread Hans Wennborg
On 08/09/2014 09:23 PM, Greg KH wrote: On Sun, Aug 03, 2014 at 05:20:58PM -0700, Hans Wennborg wrote: Signed-off-by: Hans Wennborg --- drivers/staging/rtl8192ee/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) This patch fails to apply to my tree :( Sorry about that. I'

Re: [PATCH 4/14] powerpc/pseries: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Of_node_put supports NULL as its argument, so the initial test is not > necessary. > > Suggested by Uwe Kleine-König. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > >

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-10 Thread Dexuan Cui
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > > > > > > IMO the most feasible and need-the-least-change solution may be: > > > > the hyperv network VSC driver passes the event > > > > RNDIS_STATUS_NETWORK_CHANGE to the udev daemon? > > > > > > > No, don't do

Re: [PATCH] powerpc: non-GPL export for eeh_dev_check_failure

2014-08-10 Thread Benjamin Herrenschmidt
On Tue, 2014-08-05 at 15:51 +0100, One Thousand Gnomes wrote: > On Tue, 05 Aug 2014 20:12:09 +0530 > Vishal Mansur wrote: > > > EEH kernel services are inconsistently exported by the > > kernel. eeh_check_failure is exported for any use, but > > eeh_dev_check_failure is exported only for GPL us

Re: [PATCH V3 3/3] ARM: clk-imx6q: Add missing lvds and anaclk clock to the clock tree

2014-08-10 Thread Shengjiu Wang
On Sat, Aug 09, 2014 at 09:58:42PM +0800, Shawn Guo wrote: > On Fri, Aug 08, 2014 at 03:02:49PM +0800, Shengjiu Wang wrote: > > @@ -176,8 +182,12 @@ static void __init imx6q_clocks_init(struct > > device_node *ccm_node) > > * the "output_enable" bit as a gate, even though it's really just > >

Re: [PATCH 6/14] powerpc/fsl: fsl_soc: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Of_node_put supports NULL as its argument, so the initial test is not > necessary. > > Suggested by Uwe Kleine-König. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > >

Re: [PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Simplify the error path to avoid calling of_node_put when it is not needed. > > The semantic patch that finds this problem is as follows: > (http://coccinelle.lip6.fr/) Change the subject to powerpc/4xx/cpm or somet

Re: [PATCH V3 2/3] ARM: clk-gate2: Add API imx_clk_gate2_exclusive for clk_gate2

2014-08-10 Thread Shengjiu Wang
On Sat, Aug 09, 2014 at 09:33:17PM +0800, Shawn Guo wrote: > On Fri, Aug 08, 2014 at 03:02:48PM +0800, Shengjiu Wang wrote: > > As some clocks are mutually exlcusive, they can't be enabled simultaneously, > > So add this new API for registering exclusive clock, the enable function > > will > > che

[PATCH] dcache: Fix no spaces at the start of a line in dcache.c

2014-08-10 Thread Daeseok Youn
Fixed coding style in dcache.c Signed-off-by: Daeseok Youn --- fs/dcache.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index b7e8b20..7252cac 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -2104,10 +2104,10 @@ struct dentry *d_lookup(c

[PATCH] proc: potential ERR_PTR dereference on proc_fill_cache()

2014-08-10 Thread Daeseok Youn
The d_hash_and_lookup() returns NULL or ERR_PTR on lookup failure. Signed-off-by: Daeseok Youn --- fs/proc/base.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index f50d4be..49bc09c 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -

[PULL] modules-next

2014-08-10 Thread Rusty Russell
The following changes since commit 15ba2236f3556fc01b9ca91394465152b5ea74b6: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2014-07-21 22:46:01 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/modules-next-fo

[PULL] virtio-next

2014-08-10 Thread Rusty Russell
The following changes since commit 15ba2236f3556fc01b9ca91394465152b5ea74b6: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2014-07-21 22:46:01 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/virtio-next-for

Re: [PATCH 2/5] char: tile-srom: Remove reference to platform_bus

2014-08-10 Thread Chris Metcalf
Thanks for the code and comments. I'm out on vacation till mid next week but I'll look at this when I get back. Chris > On Aug 8, 2014, at 12:35 PM, "Pawel Moll" wrote: > > On Tue, 2014-08-05 at 21:08 +0100, Chris Metcalf wrote: In addition, we also have user binaries in the wild that

Re: [PATCH] usb: phy: drop kfree of devm_kzalloc's data

2014-08-10 Thread Jingoo Han
On Monday, August 11, 2014 5:00 AM, Himangi Saraogi wrote: > > Using kfree to free data allocated with devm_kzalloc causes double frees. > > The Coccinelle semantic patch that fixes this problem is as follows: > > // > @@ > expression x; > @@ > > x = devm_kzalloc(...) > ... > ?-kfree(x); > //

Re: [PATCH 1/1] memblock, memhotplug: Fix wrong type in memblock_find_in_range_node().

2014-08-10 Thread Xishi Qiu
On 2014/8/10 14:14, tangchen wrote: > Sorry, add Xishi Qiu > > On 08/10/2014 02:12 PM, Tang Chen wrote: >> In memblock_find_in_range_node(), we defeind ret as int. But it shoule >> be phys_addr_t because it is used to store the return value from >> __memblock_find_range_bottom_up(). >> >> The bu

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

2014-08-10 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/mfd/sec-core.c: In function 'sec_pmic_suspend': drivers/mfd/sec-core.c:438:29: error: 'PM_SUSPEND_MEM' undeclared (first use in this function) regulator_suspend_prepare(PM_SUSPEND_ME

linux-next: manual merge of the pm tree with Linus' tree

2014-08-10 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/arm/mach-kirkwood/pm.c between commit ba364fc752da ("ARM: Kirkwood: Remove mach-kirkwood") from Linus' tree and commit bb3274b6442d ("PM / sleep: Rename symbols, functions and variables related to sleep") from the pm tree.

Re: [PULL REQUEST] i2c for 3.17

2014-08-10 Thread Lan Tianyu
On 2014年08月10日 01:34, Linus Torvalds wrote: > On Sat, Aug 9, 2014 at 6:56 AM, Wolfram Sang wrote: >> >> here is the pull request for 3.17 for the I2C subsystem. Highlights: > > Lowlight: selecting ACPI support (which used to be the default if ACPI > was enabled) now forces i2c to be built-in. >

Re: Bug#757733: RTS2557 SD card reader does not work

2014-08-10 Thread Philipp Hagemeister
> A web search shows some similar reports (e.g. > , > ). > But in that last one, it turns out that the out-of-tree drive

linux-next: manual merge of the pm tree with Linus' tree

2014-08-10 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/arm/mach-imx/pm-imx6.c between commit 80c0ecdce802 ("ARM: imx: add standby mode support for suspend") from Linus' tree and commit bb3274b6442d ("PM / sleep: Rename symbols, functions and variables related to sleep") from the

RE: [PATCH] export the function kmap_flush_unused.

2014-08-10 Thread Sha, Ruibin
Hi Chintan, Thank you very much for your timely and kindly response and comments. Here is more detail about our Scenario: We have a big driver on Android product. The driver allocates lots of DDR pages. When applications mmap a file exported from the driver, driver would mmap the page

Re: [sched] 143e1e28cb4: +17.9% aim7.jobs-per-min, -9.7% hackbench.throughput

2014-08-10 Thread Fengguang Wu
On Sun, Aug 10, 2014 at 05:05:03PM +0200, Peter Zijlstra wrote: > On Sun, Aug 10, 2014 at 06:54:13PM +0800, Fengguang Wu wrote: > > The "brickland1/aim7/6000-page_test" is the test case part. > > > > The "TOTAL XXX" is the metric part. One test run may generate lots of > > metrics, reflecting diff

Re: [PATCH v3 1/2] printk: Add function to return log buffer address and size

2014-08-10 Thread Benjamin Herrenschmidt
On Sat, 2014-08-09 at 11:15 +0530, Vasant Hegde wrote: > Ben, > - This patchset applies cleanly on powerpc next branch. > - Andrew Morton suggested to include this patch in powerpc tree. > (https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/119802.html) > Ok, Andrew, can I have

Re: dm: propagate QUEUE_FLAG_NO_SG_MERGE

2014-08-10 Thread Mike Snitzer
On Fri, Aug 08 2014 at 11:03am -0400, Jeff Moyer wrote: > Hi, > > Commit 05f1dd5 introduced a new queue flag: QUEUE_FLAG_NO_SG_MERGE. > This gets set by default in blk_mq_init_queue for mq-enabled devices. > The effect of the flag is to bypass the SG segment merging. Instead, > the bio->bi_vcnt

Re: [PATCH] misc: ti-st: st_kim.c: Cleaning up missing null-terminate after strncpy call

2014-08-10 Thread Mark D Rustad
On Aug 9, 2014, at 4:45 PM, Rickard Strandqvist wrote: > Added a guaranteed null-terminate after call to strncpy. > > Signed-off-by: Rickard Strandqvist > --- > drivers/misc/ti-st/st_kim.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti

Re: [PATCH] net: ethernet: myricom: myri10ge: myri10ge.c: Cleaning up missing null-terminate after strncpy call

2014-08-10 Thread Mark D Rustad
On Aug 9, 2014, at 4:40 PM, Rickard Strandqvist wrote: > Added a guaranteed null-terminate after call to strncpy. > > Signed-off-by: Rickard Strandqvist > --- > drivers/net/ethernet/myricom/myri10ge/myri10ge.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/myr

  1   2   3   >