Re: [PATCH v5 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-05 Thread Christoph Hellwig
This series looks good, do you also have a man page sniplet to document the new syscalls? -- 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 Please read

Re: [PATCH 03/35] UBI: Fastmap: Add self check to detect absent PEBs

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-11-05 at 17:05 +0100, Richard Weinberger wrote: > Am 05.11.2014 um 17:01 schrieb Artem Bityutskiy: > > On Wed, 2014-11-05 at 16:56 +0100, Richard Weinberger wrote: > >> I did that to have alloc and free balanced. > >> I.e. to not have a naked kfree(). Always when I see a kfree() > >>

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: > On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov wrote: > > On Wed, 2014-11-05 at 10:11 -0800, Bjorn Andersson wrote: > > > On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov > > > wrote: > > > [..] > > > > @@ -28,11 +144,27 @@ static int pm

[PATCH v4 4/7] sched/deadline: Remove unnecessary definitions in cpudeadline.h

2014-11-05 Thread pang.xunlei
Actually, cpudl_set() and cpudl_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei --- kernel/sched/cpudeadline.h |3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/cpudeadline.h b/kernel/sched/cpudeadline.h index 538c979..020039b 100644 --- a/kernel/sched

Re: [PATCH 08/35] UBI: Split __wl_get_peb()

2014-11-05 Thread Richard Weinberger
Am 06.11.2014 um 08:51 schrieb Artem Bityutskiy: > On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: >> Make it two functions, wl_get_wle() and wl_get_peb(). >> wl_get_peb() works exactly like __wl_get_peb() but wl_get_wle() >> does not call produce_free_peb(). >> While refilling the fas

[PATCH v4 7/7] sched/deadline: Modify cpudl_find() for more cases of electing best_cpu

2014-11-05 Thread pang.xunlei
When a runqueue runs out of DL tasks, it may have RT tasks or non-RT tasks or just idle. It'd be better to push the DL task to an idle cpu or non-RT cpu if there is any. Add idle_cpus and freert_cpus, change free_cpus to freedl_cpus in cpudl. Add idle_enter_dl()/idle_exit_dl() to detect idle cases

[PATCH v4 1/7] sched/cpupri: Remove unnecessary definitions in cpupri.h

2014-11-05 Thread pang.xunlei
Actually, cpupri_set() and cpupri_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei --- kernel/sched/cpupri.h |3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/cpupri.h b/kernel/sched/cpupri.h index 6b03334..63cbb9c 100644 --- a/kernel/sched/cpupri.h +++

[PATCH v4 3/7] sched/rt: Optimize find_lowest_rq() to select a cache hot cpu

2014-11-05 Thread pang.xunlei
Add the case for iteration of sched_domains without SD_WAKE_AFFINE flags to select a cpu, this flag may be unset through proc by users. Signed-off-by: pang.xunlei --- kernel/sched/rt.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/kernel/sched/rt.c b/k

[PATCH v4 2/7] sched/rt: Deal with cpupri.pri_to_cpu[CPUPRI_IDLE] for idle cases

2014-11-05 Thread pang.xunlei
When a runqueue runs out of RT tasks, it may have non-RT tasks or none tasks(idle). Currently, RT balance treats the two cases equally and manipulates cpupri.pri_to_cpu[CPUPRI_NORMAL] only which may cause problems. For instance, 4 cpus system, non-RT task1 is running on cpu0, RT task2 is running o

[PATCH v4 5/7] sched/deadline: Fix several problems with cpudl_find()

2014-11-05 Thread pang.xunlei
cpudl_find() has some problems: 1)in check_preempt_equal_dl(), called with NULL later_mask, thus cpudl_find() doesn't check cpudl.free_cpus at all. 2)Also, the whole system isn't always overloaded with many DL tasks in which cases all the cpu may have a DL task running, so it may return the best

[PATCH v4 6/7] sched/deadline: Optimize find_later_rq() to select a cache hot cpu

2014-11-05 Thread pang.xunlei
Add the case for iteration of sched_domains without SD_WAKE_AFFINE flags to select a cpu, this flag may be unset through proc by users. Signed-off-by: pang.xunlei --- kernel/sched/deadline.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/kernel/sched/d

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-05 Thread Takao Indoh
(2014/11/06 11:11), Li, ZhenHua wrote: > This patch does the same thing as you said in your mail. > It should work, I have tested on my HP huge system. Yep, I also confirmed it worked. BTW, I found another problem. When I tested your patches with 3.17 kernel, iommu initialization failed with the

Re: [PATCH 08/35] UBI: Split __wl_get_peb()

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: > Make it two functions, wl_get_wle() and wl_get_peb(). > wl_get_peb() works exactly like __wl_get_peb() but wl_get_wle() > does not call produce_free_peb(). > While refilling the fastmap user pool we cannot release ubi->wl_lock > as prod

Re: [PATCH 0/4] Touchscreen performance related fixes

2014-11-05 Thread Vignesh R
On Monday 03 November 2014 11:39 PM, Richard Cochran wrote: > On Mon, Oct 27, 2014 at 04:38:27PM +0530, Vignesh R wrote: >> This series of patches fix TSC defects related to lag in touchscreen >> performance and cursor jump at touch release. The lag was result of >> udelay in TSC interrupt handle

[PATCH] sysfs: driver core: Fix glue dir race condition

2014-11-05 Thread Yijing Wang
There is a race condition when removing glue directory. It can be reproduced in following test: path 1: Add first child device device_add() get_device_parent() /*find parent from glue_dirs.list*/ list_for_each_entry(k, &dev->class->p->glue_dirs.list, entry)

Re: [PATCH 1/1] perf tools: perf diff for different binaries

2014-11-05 Thread Namhyung Kim
Hi Kan, On Thu, Nov 6, 2014 at 2:28 AM, Liang, Kan wrote: > >> Hi Kan, >> >> On Tue, 4 Nov 2014 17:07:43 +, Kan Liang wrote: >> >> What about setting the >> >> sort_sym.se_collapse in data_process() so that hists__match() can use >> >> symbol names? >> > >> > Yes, we can set it if we only do

Re: [PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-11-05 Thread Andrzej Hajda
On 11/06/2014 04:32 AM, Alexandre Courbot wrote: > On Thu, Oct 23, 2014 at 6:45 PM, Andrzej Hajda wrote: >> On 10/23/2014 10:16 AM, Alexandre Courbot wrote: >>> Add the new flags argument to calls of (devm_)gpiod_get*() and >>> remove any direction setting code afterwards. >>> >>> Currently both f

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

2014-11-05 Thread Kishon Vijay Abraham I
Hi Felipe, On Friday 17 October 2014 08:09 PM, Heikki Krogerus wrote: > On some platforms a PHY may need to be handled also in the > host controller driver. Exynos5420 SoC requires some "PHY > tuning" based on the USB speed. This patch delivers dwc3's > PHYs to the xhci platform device when it's c

[LKP] [jbd2] cc97f1a7c7e: +87.2% fsmark.files_per_sec

2014-11-05 Thread LKP
FYI, we noticed the below good changes on commit cc97f1a7c7eed970e674b84be0e68f479c80228d ("jbd2: avoid pointless scanning of checkpoint lists") 844749764b416ee2 cc97f1a7c7eed970e674b84be0 testbox/testcase/testparams -- ---

[PATCH] sched/deadline: fix rq->dl.pushable_tasks bug in push_dl_task()

2014-11-05 Thread Wanpeng Li
Do not call dequeue_pushable_dl_task() when failing to push an eligible task, as it remains pushable, merely not at this particular moment. Actually the patch is the same behavior as commit 311e800e16f6 ("sched, rt: Fix rq->rt.pushable_tasks bug in push_rt_task()" in -rt side. Signed-off-by: Wan

[seccomp] kernel BUG at kernel/fork.c:1102!

2014-11-05 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is commit dbd952127d11bb44a4ea30b08cc60531b6a23d71 Author: Kees Cook AuthorDate: Fri Jun 27 15:18:48 2014 -0700 Commit: Kees Cook CommitDate: Fri Jul 18 12:13:39 2014 -0700 seccomp: introduce writer l

Re: [PATCH] PCI: fix sriov enabling with virtual bus

2014-11-05 Thread Yinghai Lu
On Wed, Nov 5, 2014 at 1:57 PM, Bjorn Helgaas wrote: > > It's relatively common to start with a pci_dev and look for an ACPI handle > that corresponds to that device or the closest enclosing scope, so maybe > there should be a way to do that directly. > > For pci_get_hp_params(), I think the curre

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Al Viro
On Thu, Nov 06, 2014 at 02:46:29PM +0800, Herbert Xu wrote: > On Thu, Nov 06, 2014 at 06:43:18AM +, Al Viro wrote: > > On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: > > > + /* We only need the first two bytes. */ > > > + err = memcpy_fromiovecend((void *)&icmph, msg->msg_iov, 0, 2

Re: [PATCH] bridge: missing null bridge device check causing null pointer dereference (bugfix)

2014-11-05 Thread Toshiaki Makita
On 2014/11/06 15:26, Su-Hyun Park wrote: > the bridge device can be null if the bridge is being deleted while processing > the packet, which causes the null pointer dereference in switch statement. How can this happen?? It is guarded by rcu. netdev_rx_handler_unregister() ensures rx_handler_data

Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Hemant Kumar
On 11/05/2014 02:35 PM, Masami Hiramatsu wrote: > (2014/11/05 16:06), Namhyung Kim wrote: >> On Tue, 04 Nov 2014 21:56:53 +0900, Masami Hiramatsu wrote: >>> Hi, >>> >>> (2014/11/04 17:06), Hemant Kumar wrote: Hi Namhyung, On 11/04/2014 01:08 PM, Namhyung Kim wrote: > Hi Hemant,

Re: [PATCH 04/10] libata: use __scsi_format_command()

2014-11-05 Thread Christoph Hellwig
On Tue, Nov 04, 2014 at 09:06:43AM +0100, Hannes Reinecke wrote: > libata already uses an internal buffer, so we should be using > __scsi_format_command() here. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-11-05 Thread Dmitry Eremin-Solenikov
Hello, 2014-10-20 23:07 GMT+04:00 Arnd Bergmann : > On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: >> SA-11x0 platform used the same IP block as was used on PXA. Consequently >> it makes sense to have only one driver. Enable pxa_timer clocksource for >> StrongARM platform. >>

Re: [PATCH v5 2/8] phy: miphy28lp: Add PHY header file for DT x Driver defines

2014-11-05 Thread Kishon Vijay Abraham I
Hi, On Tuesday 04 November 2014 04:21 PM, Gabriel FERNANDEZ wrote: > This provides the shared header file which will be reference from both > PHY driver and its associated Device Tree node(s). > > Signed-off-by: Gabriel Fernandez > --- > include/dt-bindings/phy/phy.h | 18 ++ I

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Herbert Xu
On Thu, Nov 06, 2014 at 06:43:18AM +, Al Viro wrote: > On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: > > + /* We only need the first two bytes. */ > > + err = memcpy_fromiovecend((void *)&icmph, msg->msg_iov, 0, 2); > > + if (err) > > + return err; > > + > > + fl

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Al Viro
On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: > + /* We only need the first two bytes. */ > + err = memcpy_fromiovecend((void *)&icmph, msg->msg_iov, 0, 2); > + if (err) > + return err; > + > + fl4->fl4_icmp_type = icmph.type; > + fl4->fl4_icmp_code = i

RE: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Liu, Chuansheng
> -Original Message- > From: Lu, Aaron > Sent: Thursday, November 06, 2014 1:37 PM > To: Liu, Chuansheng; Bjorn Helgaas > Cc: Barto; Tejun Heo (t...@kernel.org); Rafael Wysocki; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] PCI: Do not enable async suspe

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

2014-11-05 Thread Hugh Kang
On 2014년 11월 05일 04:56, Mark Brown wrote: > On Tue, Nov 04, 2014 at 05:20:11PM +0900, Hugh Kang wrote: > > Please fix your mailer to word wrap within paragraphs. > >> I understand that I could make Rev.B with b.dtsi due to LDOs option is >> different. However, aim to use device tree is that making

RE: [PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sharma, Sanjeev
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Wednesday, November 05, 2014 9:58 PM To: Sharma, Sanjeev Cc: larry.fin...@lwfinger.net; jes.soren...@redhat.com; de...@driverdev.osuosl.org; linux-wirel...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re

[PATCH] staging:rtl8723au: core: Fix Warning reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Warning by introducing temporary structure. WARNING: line over 80 characters Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8723au/core/rtw_cmd.c | 123 +++ 1 file changed, 60 insertions(+), 63 deletion

[PATCH] bridge: missing null bridge device check causing null pointer dereference (bugfix)

2014-11-05 Thread Su-Hyun Park
the bridge device can be null if the bridge is being deleted while processing the packet, which causes the null pointer dereference in switch statement. crash dump snippet: <1>BUG: unable to handle kernel NULL pointer dereference at 0021 <1>IP: [] br_handle_frame+0xe6/0x270 <0>Code:

Re: [PATCH 2/5] DMA: Remove .owner field for driver

2014-11-05 Thread Vinod Koul
On Wed, Sep 24, 2014 at 12:09:23PM +0530, Kiran Padwal wrote: > There is no need to init .owner field. > > Based on the patch from Peter Griffin > "mmc: remove .owner field for drivers using module_platform_driver" > > This patch removes the superflous .owner field for drivers which > use the mo

[PATCH v8 1/3] power-domain: rockchip: add power domain drivers

2014-11-05 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang -

[PATCH v8 3/3] ARM: dts: add rk3288 power-domain node

2014-11-05 Thread Caesar Wang
Signed-off-by: Jack Dai Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v8: - DTS go back to v2 Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Decomposition power-controller, changed to multiple controller (gpu

[PATCH v8 0/3] ARM: rk3288 : Add PM Domain support

2014-11-05 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN gpu: gpu@ffa3 {

[PATCH v8 2/3] dt-bindings: add document of Rockchip power domain

2014-11-05 Thread Caesar Wang
Signed-off-by: Jack Dai Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v8: - document go back to v2 Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - DT structure has changed Changes in v2: - move clocks to "opt

Re: [RFC PATCH V2] ACPI: Add _DEP(Operation Region Dependencies) support to fix battery issue on the Asus T100TA

2014-11-05 Thread Mika Westerberg
On Wed, Nov 05, 2014 at 10:55:23PM +0100, Rafael J. Wysocki wrote: > On Wednesday, November 05, 2014 10:54:14 AM Mika Westerberg wrote: > > On Mon, Oct 27, 2014 at 11:09:44PM +0800, Lan Tianyu wrote: > > > ACPI 5.0 introduces _DEP to designate device objects that OSPM should > > > assign a higher p

[PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following error. ERROR: spaces required around that '>' (ctx:WxV) ERROR: that open brace { should be on the previous line Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83 +++- 1 file cha

Re: [Patch Part2 v4 01/31] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-11-05 Thread Jiang Liu
On 2014/11/6 7:48, Thomas Gleixner wrote: > On Tue, 4 Nov 2014, Jiang Liu wrote: >> /* Number of irqs reserved for a legacy isa controller */ >> #define NUM_ISA_INTERRUPTS 16 >> @@ -64,6 +66,16 @@ struct irq_domain_ops { >> int (*xlate)(struct irq_domain *d, struct device_node *node, >>

Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

2014-11-05 Thread Mika Westerberg
On Wed, Nov 05, 2014 at 01:44:24PM -0800, Olof Johansson wrote: > Pinctrl setup has traditionally always been done by firmware on x86, > and some ARM platforms are again moving back to that state (since > reconfiguring pinctrl in the kernel is in some cases not safe). > > What's the purpose of exp

Re: [PATCH 00/11] dmaengine: Cleanup chancnt

2014-11-05 Thread Vinod Koul
On Thu, Oct 16, 2014 at 11:00:52AM +0200, Maxime Ripard wrote: > Hi everyone, > > As pointed out in the documentation thread [1], the chancnt variable > is filled during the driver registration in dma_async_device_register, > from the liste of channels that has been set. > > This serie removes th

Re: [PATCH v3 0/2] dmaengine: Add driver documentation

2014-11-05 Thread Vinod Koul
On Tue, Oct 28, 2014 at 09:55:48PM +0100, Maxime Ripard wrote: > Hi, > > This is the third attempt at documenting how to write a dmaengine > driver. Applied all, thanks. Fixed minor typos in second one. Also we need to move dmatest.txt to new folder and also update MAINTAINERS, so applied with

ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Herbert Xu
On Thu, Nov 06, 2014 at 03:25:34AM +, Al Viro wrote: > > * there's some really weird stuff in there. Just what is this > static int raw_probe_proto_opt(struct flowi4 *fl4, struct msghdr *msg) > { It looks like newbie coding that's all. There's nothing tricky here as far as I can tell.

[PATCH V2 5/5] Xen: switch to linear virtual mapped sparse p2m list

2014-11-05 Thread Juergen Gross
At start of the day the Xen hypervisor presents a contiguous mfn list to a pv-domain. In order to support sparse memory this mfn list is accessed via a three level p2m tree built early in the boot process. Whenever the system needs the mfn associated with a pfn this tree is used to find the mfn. I

[PATCH V2 3/5] xen: Delay invalidating extra memory

2014-11-05 Thread Juergen Gross
When the physical memory configuration is initialized the p2m entries for not pouplated memory pages are set to "invalid". As those pages are beyond the hypervisor built p2m list the p2m tree has to be extended. This patch delays processing the extra memory related p2m entries during the boot proc

[PATCH V2 1/5] Xen: Delay remapping memory of pv-domain

2014-11-05 Thread Juergen Gross
Early in the boot process the memory layout of a pv-domain is changed to match the E820 map (either the host one for Dom0 or the Xen one) regarding placement of RAM and PCI holes. This requires removing memory pages initially located at positions not suitable for RAM and adding them later at higher

[PATCH V2 4/5] x86: Introduce function to get pmd entry pointer

2014-11-05 Thread Juergen Gross
Introduces lookup_pmd_address() to get the address of the pmd entry related to a virtual address in the current address space. This function is needed for support of a virtual mapped sparse p2m list in xen pv domains. Signed-off-by: Juergen Gross --- arch/x86/include/asm/pgtable_types.h | 1 +

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen, Hanxiao
> -Original Message- > From: Richard Weinberger [mailto:rich...@nod.at] > Sent: Wednesday, November 05, 2014 8:52 PM > To: Serge E. Hallyn > Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; > contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Mateu

[PATCH V2 0/5] xen: Switch to virtual mapped linear p2m list

2014-11-05 Thread Juergen Gross
Paravirtualized kernels running on Xen use a three level tree for translation of guest specific physical addresses to machine global addresses. This p2m tree is used for construction of page table entries, so the p2m tree walk is performance critical. By using a linear virtual mapped p2m list acce

[PATCH V2 2/5] xen: Delay m2p_override initialization

2014-11-05 Thread Juergen Gross
The m2p overrides are used to be able to find the local pfn for a foreign mfn mapped into the domain. They are used by driver backends having to access frontend data. As this functionality isn't used in early boot it makes no sense to initialize the m2p override functions very early. It can be don

linux-next: build failure after merge of the akpm-current tree

2014-11-05 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/fremap.c: In function 'SYSC_remap_file_pages': mm/fremap.c:241:22: error: 'struct address_space' has no member named 'i_mmap_mutex' mutex_lock(&mapping->i_mmap_mutex);

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Yijing Wang
On 2014/11/6 13:06, Jiang Liu wrote: > On 2014/11/6 9:58, Yijing Wang wrote: @@ -1098,3 +1099,128 @@ int pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, return nvec; } EXPORT_SYMBOL(pci_enable_msix_range); + +#ifdefCONFIG_PC

[PATCH] x86/mm: Give the correct initail value to the pmd_idx

2014-11-05 Thread Minfei Huang
The variable value is undefined from the stack eara. So it makes sense to init the variable to run process correctly. If the variable pmd_idx inits the value more than PTRS_PER_PMD, the count may be smaller than the correct value, and the allocated page may be not enough for pte entry. The kernel

RE: [PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sharma, Sanjeev
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Wednesday, November 05, 2014 10:46 PM To: Sharma, Sanjeev Cc: larry.fin...@lwfinger.net; jes.soren...@redhat.com; gre...@linuxfoundation.org; linux-wirel...@vger.kernel.org; de...@driverdev.osuosl.org; linux-kernel@vger

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Aaron Lu
On 11/06/2014 01:29 PM, Liu, Chuansheng wrote: > Hello Bjorn, > >> -Original Message- >> From: Bjorn Helgaas [mailto:bhelg...@google.com] >> Sent: Thursday, November 06, 2014 12:09 PM >> To: Liu, Chuansheng >> Cc: Barto; Tejun Heo (t...@kernel.org); Lu, Aaron; Rafael Wysocki; >> linux-...@

Re: Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:15), Josh Stone wrote: > On 11/05/2014 01:05 AM, Masami Hiramatsu wrote: >> [Off topic] I really don't like that the current SDT's semaphore. If the >> user apps >> see the instruction at the probe point, it is easy to check whether the >> event is >> enabled or not. Thus I recomme

RE: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Liu, Chuansheng
Hello Bjorn, > -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Thursday, November 06, 2014 12:09 PM > To: Liu, Chuansheng > Cc: Barto; Tejun Heo (t...@kernel.org); Lu, Aaron; Rafael Wysocki; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject:

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Barto
Hello Bjorn, in my bugreport I have already tried to add the JMicron 368 in the "if statement" and it didn't work, check my message here : https://bugzilla.kernel.org/show_bug.cgi?id=84861#c11 if Chuansheng has choosen a more generic way ( applying the patch to all JMicron devices ) it's becaus

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 9:58 PM, Jiang Liu wrote: > On 2014/11/6 7:09, Bjorn Helgaas wrote: >> On Tue, Nov 04, 2014 at 08:01:55PM +0800, Jiang Liu wrote: >>> +{ >>> +return (irq_hw_number_t)msidesc->msi_attrib.entry_nr | >>> +PCI_DEVID(pdev->bus->number, pdev->devfn) << 11 | >>> +

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-05 Thread Stephen Warren
On 11/05/2014 04:45 PM, Matthias Klein wrote: > The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the > I2S interface. BTW, according to: http://raspberryalphaomega.org.uk/2013/02/06/automatic-raspberry-pi-board-revision-detection-model-a-b1-and-b2/ ... there are actually 2 d

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-05 Thread Stephen Warren
On 11/05/2014 04:45 PM, Matthias Klein wrote: > The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the > I2S interface. Tested-by: Stephen Warren (On a model B rev 2, UART, SD card, and enumeration of built-in USB devices works fine) Lee, how do you want to handle patches - w

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Jiang Liu
On 2014/11/6 9:58, Yijing Wang wrote: >>> >>> @@ -1098,3 +1099,128 @@ int pci_enable_msix_range(struct pci_dev *dev, >>> struct msix_entry *entries, >>> return nvec; >>> } >>> EXPORT_SYMBOL(pci_enable_msix_range); >>> + >>> +#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN >> >> Space, not tab. >> >>>

[git pull] vfs.git fixes

2014-11-05 Thread Al Viro
A fix for embarrassing braino in o2net_send_tcp_msg(). -stable fodder... Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (1): fix breakage in o2net_send_tcp_msg() Diffstat: fs/ocfs2/cluster/tcp.c |2 +-

Re: linux-next: manual merge of the usb tree with the usb.current tree

2014-11-05 Thread Stephen Rothwell
Hi all, On Wed, 5 Nov 2014 18:19:34 -0800 Greg KH wrote: > > On Wed, Nov 05, 2014 at 09:33:33AM +0100, Paul Bolle wrote: > > On Tue, 2014-11-04 at 20:30 -0800, Greg KH wrote: > > > On Wed, Nov 05, 2014 at 03:18:25PM +1100, Stephen Rothwell wrote: > > > > Today's linux-next merge of the usb tree

Re: [PATCHv2 4/5] mmc: shdci-bcm2835: add verify for 32-bit back-to-back workaround

2014-11-05 Thread Stephen Warren
On 11/05/2014 12:00 AM, Scott Branden wrote: > On 14-11-04 08:59 PM, Stephen Warren wrote: >> On 10/30/2014 12:36 AM, Scott Branden wrote: >>> Add a verify option to driver to print out an error message if a >>> potential back to back write could cause a clock domain issue. >> >>> index f8c450a..11

Re: linux-next: manual merge of the usb-gadget tree with the usb tree

2014-11-05 Thread Felipe Balbi
On Thu, Nov 06, 2014 at 02:58:32PM +1100, Stephen Rothwell wrote: > Hi Felipe, > > Today's linux-next merge of the usb-gadget tree got a conflict in > drivers/usb/chipidea/otg_fsm.c between commit 51f1741fcc16 ("usb: > chipidea: otg_fsm: delete unnecessary 'out of memory' messages") from > the usb

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Jiang Liu
On 2014/11/6 7:09, Bjorn Helgaas wrote: > On Tue, Nov 04, 2014 at 08:01:55PM +0800, Jiang Liu wrote: > > In your topic: > > PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain > > There's no need to repeat "PCI MSI". Please run "git log --oneline > drivers/pci/msi.c" and make your si

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Felipe Balbi
On Thu, Nov 06, 2014 at 10:04:01AM +0530, Kiran Raparthy wrote: > Hi Felipe, > > On 6 November 2014 01:10, Felipe Balbi wrote: > > On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: > >> From: Todd Poynor > >> > >> usb: phy: Hold wakeupsource when USB is enumerated in peripher

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Yijing Wang
On 2014/11/6 12:10, Bjorn Helgaas wrote: > On Wed, Nov 5, 2014 at 6:58 PM, Yijing Wang wrote: > +{ +return (irq_hw_number_t)msidesc->msi_attrib.entry_nr | +PCI_DEVID(pdev->bus->number, pdev->devfn) << 11 | +(pci_domain_nr(pdev->bus) & 0x) <<

linux-next: manual merge of the y2038 tree with the v4l-dvb tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/media/lirc/lirc_sasem.c between commit f3a75505ab5f ("[media] Staging: media: lirc: cleaned up packet dump in 2 files") from the v4l-dvb tree and commit db77d73bffbc ("staging: media: lirc: Replace timeval with k

Re: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Alexandre Montplaisir
Hi Mathieu, On 11/05/2014 06:21 PM, Mathieu Desnoyers wrote: [...] The cpu_id field change will be addressed soon on our side. Now, the remaining things: The "domain = kernel" thingy (or another identifier if desired) is something we could add. Unless the event data is exactly the same, it wo

[PATCH] x86: Drop redundant memory-block sizing code

2014-11-05 Thread Daniel J Blueman
Drop the unused code from selecting a fixed memory block size of 2GB on large-memory x86-64 systems. Signed-off-by: Daniel J Blueman --- arch/x86/mm/init_64.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c inde

Re: [PATCHv2 5/5] mmc: sdhci-bcm2835: add sdhci quirk SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12

2014-11-05 Thread Stephen Warren
On 11/05/2014 12:02 AM, Scott Branden wrote: > On 14-11-04 09:00 PM, Stephen Warren wrote: >> On 10/30/2014 12:36 AM, Scott Branden wrote: >>> SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 is missing and needed for this >>> controller. >> >> This seems fine, although any explanation of why this quirk is neede

Re: linux-next: manual merge of the y2038 tree with the staging tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, On Thu, 6 Nov 2014 15:48:15 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the y2038 tree got a conflict in > drivers/staging/ft1000/ft1000-usb/ft1000_debug.c between commit > ecdd21c7b982 ("staging: ft1000: Whitespace neatening") from the staging > tree and commit 4115d2

[PATCH net-next 3/3] r8152: remove the definitions of the PID

2014-11-05 Thread Hayes Wang
The PIDs are only used in the id table, so the definitions are unnacessary. Remove them wouldn't have confusion. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c

Re: [PATCHv2 3/5] mmc: shdci-bcm2835: add efficient back-to-back write workaround

2014-11-05 Thread Stephen Warren
On 11/04/2014 11:55 PM, Scott Branden wrote: > On 14-11-04 08:57 PM, Stephen Warren wrote: >> On 10/30/2014 12:36 AM, Scott Branden wrote: >>> The bcm2835 has clock domain issues when back to back writes to certain >>> registers are written. The existing driver works around this issue with >>> ude

[PATCH net-next 2/3] r8152: modify rtl_ops_init

2014-11-05 Thread Hayes Wang
Replace using VID/PID with using tp->version to initialize the ops. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 79 ++--- 1 file changed, 28 insertions(+), 51 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c inde

[PATCH net-next 1/3] r8152: move r8152b_get_version

2014-11-05 Thread Hayes Wang
Move r8152b_get_version() to the location before rtl_ops_init(). Then, the rtl_ops_init() could use tp->version. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index fd4

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

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/ft1000/ft1000-usb/ft1000_debug.c between commit ecdd21c7b982 ("staging: ft1000: Whitespace neatening") from the staging tree and commit 4115d2b27a50 ("staging: ft1000: Replace timeval and time_t with time64_t") f

[PATCH net-next 0/3] r8152: rtl_ops_init modify

2014-11-05 Thread Hayes Wang
Initialize the ops through tp->version. This could skip checking each VID/PID. Hayes Wang (3): r8152: move r8152b_get_version r8152: modify rtl_ops_init r8152: remove the definitions of the PID drivers/net/usb/r8152.c | 92 + 1 file changed,

Re: [RESUBMIT PATCH v6 7/8] regulator: sky81452: Add compatible string for device binding

2014-11-05 Thread Gyungoh Yoo
On Mon, Nov 03, 2014 at 10:45:39PM +0100, Paul Bolle wrote: > On Fri, 2014-10-31 at 16:44 +, Mark Brown wrote: > > On Fri, Oct 31, 2014 at 04:08:41PM +0900, gyun...@gmail.com wrote: > > > From: Gyungoh Yoo > > > > > > Signed-off-by: Gyungoh Yoo > > > > This doesn't apply against current cod

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

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c between commit ecdd21c7b982 ("staging: ft1000: Whitespace neatening") from the staging tree and commit 4115d2b27a50 ("staging: ft1000: Replace timeval and time_t with time64_t") f

Re: [PATCH 3/3] ftracetest: Add basic event tracing test cases

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:04), Namhyung Kim wrote: > This patch adds basic event tracing tests like enable/disable with > top-level, subsystem-level and individual event files. > > # ./ftracetest > === Ftrace unit tests === > [1] Basic trace file check [PASS] > [2] Basic trace clock test [PASS] >

Re: [RESUBMIT PATCH v6 7/8] regulator: sky81452: Add compatible string for device binding

2014-11-05 Thread Gyungoh Yoo
On Tue, Nov 04, 2014 at 11:41:20AM +, Mark Brown wrote: > On Tue, Nov 04, 2014 at 02:45:34PM +0900, Gyungoh Yoo wrote: > > On Tue, Nov 04, 2014 at 12:53:29AM +, Mark Brown wrote: > > > > I'm having a hard time understanding why it is difficult to split the > > > two changes - they are in c

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Kiran Raparthy
Hi Felipe, On 6 November 2014 01:10, Felipe Balbi wrote: > On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: >> From: Todd Poynor >> >> usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode >> >> Some systems require a mechanism to prevent system to enter into

Re: [Patch Part2 v4 20/31] PCI/MSI: Kill redundant calling for irq_set_msi_desc() for MSIx interrupts

2014-11-05 Thread Jiang Liu
On 2014/11/6 9:32, Yijing Wang wrote: > On 2014/11/6 6:45, Bjorn Helgaas wrote: >> On Tue, Nov 04, 2014 at 08:01:54PM +0800, Jiang Liu wrote: >>> It's arch_setup_msi_irq()/arch_setup_msi_irqs()'s responsibility to call >>> irq_set_msi_desc() to associate IRQ descriptors and MSI descriptors, >>> so

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-11-05 Thread Bjorn Helgaas
On Mon, Oct 06, 2014 at 11:04:45AM +0800, Chen Gang wrote: > When pcifront_rescan_root() or pcifront_scan_root() fails, need return > error code, neither set XenbusStateConnected state, just like the other > areas have done. > > For pcifront_rescan_root(), it will return error code ("num_roots = 0

Re: [PATCH 0/7] Pinctrl support for Zynq

2014-11-05 Thread Sören Brinkmann
On Thu, 2014-11-06 at 04:51AM +0100, Andreas Färber wrote: > Am 05.11.2014 um 18:03 schrieb Sören Brinkmann: > > On Wed, 2014-11-05 at 06:56AM +0100, Andreas Färber wrote: > >> I've tracked down all 54 MIO pins of the Parallella and cooked up the > >> equivalent DT patch. [...] For testing purposes

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:58 PM, Yijing Wang wrote: >>> +{ >>> +return (irq_hw_number_t)msidesc->msi_attrib.entry_nr | >>> +PCI_DEVID(pdev->bus->number, pdev->devfn) << 11 | >>> +(pci_domain_nr(pdev->bus) & 0x) << 27; >> >> Where does this bit layout come from?

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:48 PM, Liu, Chuansheng wrote: > Hello Bjorn, > >> -Original Message- >> From: Bjorn Helgaas [mailto:bhelg...@google.com] >> Sent: Thursday, November 06, 2014 3:04 AM >> To: Barto >> Cc: Liu, Chuansheng; Lu, Aaron; Tejun Heo; Rafael Wysocki; >> linux-...@vger.kernel

Re: [PATCH V2 1/5] sched: idle: cpuidle: Check the latency req before idle

2014-11-05 Thread Preeti U Murthy
On 11/05/2014 07:58 PM, Daniel Lezcano wrote: > On 10/29/2014 03:01 AM, Preeti U Murthy wrote: >> On 10/29/2014 12:29 AM, Daniel Lezcano wrote: >>> On 10/28/2014 04:51 AM, Preeti Murthy wrote: Hi Daniel, On Thu, Oct 23, 2014 at 2:31 PM, Daniel Lezcano wrote: > When the pmqo

Re: [Patch Part2 v4 20/31] PCI/MSI: Kill redundant calling for irq_set_msi_desc() for MSIx interrupts

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:32 PM, Yijing Wang wrote: > On 2014/11/6 6:45, Bjorn Helgaas wrote: >> On Tue, Nov 04, 2014 at 08:01:54PM +0800, Jiang Liu wrote: >>> It's arch_setup_msi_irq()/arch_setup_msi_irqs()'s responsibility to call >>> irq_set_msi_desc() to associate IRQ descriptors and MSI descri

linux-next: manual merge of the usb-gadget tree with the usb tree

2014-11-05 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/otg_fsm.c between commit 51f1741fcc16 ("usb: chipidea: otg_fsm: delete unnecessary 'out of memory' messages") from the usb tree and commit ef44cb4226d1 ("usb: allow to supply the PHY in the drivers wh

[RFC][PATCH] x86: Make x32 syscall support conditional on a kernel parameter

2014-11-05 Thread Ben Hutchings
Enabling x32 in a distribution default kernel increases its attack surface while providing no benefit to the vast majority of its users. No-one seems interested in regularly checking for vulnerabilities specific to x32 (at least no-one with a white hat). Still, requiring a separate or custom confi

Re: [PATCH 0/7] Pinctrl support for Zynq

2014-11-05 Thread Andreas Färber
Am 05.11.2014 um 18:03 schrieb Sören Brinkmann: > On Wed, 2014-11-05 at 06:56AM +0100, Andreas Färber wrote: >> I've tracked down all 54 MIO pins of the Parallella and cooked up the >> equivalent DT patch. [...] For testing purposes I've configured a >> heartbeat trigger for the USER_LED (CR10). >>

Re: [PATCH -next v2 10/26] tty: Don't take tty_mutex for tty count changes

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 09:50:22PM -0500, Peter Hurley wrote: > On 11/05/2014 09:39 PM, Peter Hurley wrote: > > On 11/05/2014 09:33 PM, Greg Kroah-Hartman wrote: > >> On Wed, Nov 05, 2014 at 12:12:53PM -0500, Peter Hurley wrote: > >>> Holding tty_mutex is no longer required to serialize changes to

  1   2   3   4   5   6   7   8   9   10   >