Purpose of pci_remap_iospace

2016-07-11 Thread Bharat Kumar Gogada
Hi, I have a query. Can any once explain the purpose of pci_remap_iospace function in root port driver. What is its dependency with architecture ? Here is my understanding, the above API takes PCIe IO resource and its to be mapped CPU address from ranges property and remaps into virtual addre

Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-11 Thread Xunlei Pang
On 2016/07/12 at 11:56, 河合英宏 / KAWAI,HIDEHIRO wrote: > Hi Xunlei, > > Thanks for the review. > >> From: Xunlei Pang [mailto:xp...@redhat.com] >> Sent: Tuesday, July 12, 2016 12:12 PM >> On 2016/07/05 at 19:33, Hidehiro Kawai wrote: >>> This patch fixes one of the problems reported by Daniel Walker

[PATCH 4/5] arm64: dts: msm8916: Add thermal zones, tsens and qfprom nodes

2016-07-11 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom

[PATCH 0/5] dts patches for qcom tsens support

2016-07-11 Thread Rajendra Nayak
Hi Andy, Tsens driver is now pulled in and on its way to be merged in 4.8 [1] These are the corresponding dts changes for the various platforms supported by the driver. None currently have support for cpufreq, so I have empty cooling-maps added with a TODO to update once cpufreq support is availab

[PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

2016-07-11 Thread Rajendra Nayak
TSENS is part of GCC, hence add TSENS properties as part of GCC node. Also add thermal zones and qfprom nodes. Update GCC bindings doc to mention the possibility of optional TSENS properties that can be part of GCC node. Acked-by: Eduardo Valentin Signed-off-by: Rajendra Nayak --- .../devicetre

[PATCH 1/5] arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes

2016-07-11 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-msm8974.dtsi | 119 1 file changed, 119 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-ms

[PATCH 5/5] arm64: dts: msm8996: Add thermal zones and tsens node

2016-07-11 Thread Rajendra Nayak
Add thermal zones and tsens nodes Acked-by: Eduardo Valentin Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 108 ++ 1 file changed, 108 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm899

[PATCH 3/5] arm: dts: apq8084: Add thermal zones, tsens and qfprom nodes

2016-07-11 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-apq8084.dtsi | 119 1 file changed, 119 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-ap

Re: [PATCH v2] kexec: Fix kdump failure with notsc

2016-07-11 Thread Xunlei Pang
On 2016/07/07 at 18:17, Wei Jiangang wrote: > If we specify the 'notsc' boot parameter for the dump-capture kernel, > and then trigger a crash(panic) by using "ALT-SysRq-c" or "echo c > > /proc/sysrq-trigger", > the dump-capture kernel will hang in calibrate_delay_converge(): > > /* wait for "s

Re: [lkp] [ACPI / APEI] a3e2acc5e3: kmsg.BERT:Can't_request_iomem_region<#-#>

2016-07-11 Thread Ye Xiaolong
On Tue, Jul 12, 2016 at 09:21:26AM +0800, Luck, Tony wrote: >Get BIOS version with: > ># dmidecode -t 0 Thanks, here is the machine info: # dmidecode -t 0 # dmidecode 2.12 SMBIOS 2.7 present. Handle 0x, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc.

Re: System freezes after OOM

2016-07-11 Thread Michal Hocko
On Mon 11-07-16 11:43:02, Mikulas Patocka wrote: [...] > The general problem is that the memory allocator does 16 retries to > allocate a page and then triggers the OOM killer (and it doesn't take into > account how much swap space is free or how many dirty pages were really > swapped out while

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-11 Thread Alexander Gordeev
On Sun, Jul 10, 2016 at 05:57:51AM +0200, Christoph Hellwig wrote: > On Thu, Jul 07, 2016 at 01:05:01PM +0200, Alexander Gordeev wrote: > > irq_create_affinity_mask() bails out with no affinity in case of single > > vector, but alloc_descs() (see below (*)) assigns the whole affinity > > mask. It s

Re: [PATCH 11/13] blk-mq: allow the driver to pass in an affinity mask

2016-07-11 Thread Alexander Gordeev
On Sun, Jul 10, 2016 at 05:41:44AM +0200, Christoph Hellwig wrote: > On Mon, Jul 04, 2016 at 11:35:28AM +0200, Alexander Gordeev wrote: > > > mq_map is initialized to zero already, so we don't really need the > > > assignment for queue 0. The reason why this check exists is because > > > we start

Re: [PATCH] mm, vmscan: Give up balancing node for high order allocations earlier

2016-07-11 Thread Hillf Danton
> > To avoid excessive reclaim, we give up rebalancing for high order > > allocations right after reclaiming enough pages. > > hm. What are the observed runtime effects of this change? Any testing > results? > This work was based on Mel's work, Sir, "[PATCH 00/27] Move LRU page reclaim from zon

linux-next: Tree for Jul 12

2016-07-11 Thread Stephen Rothwell
Hi all, Changes since 20160711: The tegra tree gained a conflict against the samsung-krzk tree. The pm tree lost its build failure. The xen-tip tree gained a conflict against the pm tree. Non-merge commits (relative to Linus' tree): 8344 7965 files changed, 454225 insertions(+), 1

Re: [PATCH v2] sound: oss: Remove useless initialisation

2016-07-11 Thread Takashi Iwai
On Tue, 12 Jul 2016 05:24:35 +0200, Amitoj Kaur Chawla wrote: > > Remove useless initialisation of variable whose value is reinitialised > later. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > type T; > identifier x; > constant C; > expression e; > @@ > > T x >

Re: [PATCH v5 7/7] perf config: Initialize annotate_browser__opts with default config items

2016-07-11 Thread Taeung Song
On 07/12/2016 02:47 PM, Namhyung Kim wrote: On Wed, Jul 06, 2016 at 02:20:23PM +0900, Taeung Song wrote: Set default config values for 'annotate' section with 'annotate_config_items[]' instead of actual bool type values. (e.g. using annotate_config_items[CONFIG_ANNOTATE_USE_OFFSET].value inste

Company Paymnet Agent Needed

2016-07-11 Thread Shougang Group Co., Ltd
Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are looking for

Re: [PATCH v5 5/7] perf config: Initialize ui_browser__colorsets with default config items

2016-07-11 Thread Taeung Song
On 07/12/2016 02:39 PM, Namhyung Kim wrote: On Wed, Jul 06, 2016 at 02:20:21PM +0900, Taeung Song wrote: Set default config values for 'colors' section with 'colors_config_items[]' instead of actual const char * type values. (e.g. using colors_config_item[CONFIG_COLORS_TOP].value instead of "r

Re: [RFC PATCH v5 0/7] perf config: Introduce default config key-value pairs arrays

2016-07-11 Thread Taeung Song
On 07/12/2016 02:37 PM, Namhyung Kim wrote: Hi Taeung, On Tue, Jul 12, 2016 at 01:20:35PM +0900, Taeung Song wrote: Hi, Namhyung :) As you know, the patch work from v3 to v4 took too long time because of a patchset refactoring perf_config(). So I guess it is hard for you to recall this patc

[PATCH] regulator: s2mps11: Fix the voltage linear range for s2mps15

2016-07-11 Thread Alim Akhtar
This patch fixes some of the LDOs and BUCKs voltage range as per user manual of s2mps15 (REV0.4). Fixes: 51af20675800 ("regulator: s2mps11: Add support for S2MPS15 regulators") Cc: Signed-off-by: Alim Akhtar --- drivers/regulator/s2mps11.c |6 +++--- 1 file changed, 3 insertions(+), 3 dele

[PATCH] include instead of

2016-07-11 Thread mariakatosvich
asm-generic headers are generic implementations for architecture specific code and should not be included by common code. Thus use the asm/ version of sections.h to get at the linker sections. Signed-off-by: mariakatosvich lst.de> --- kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v5 7/7] perf config: Initialize annotate_browser__opts with default config items

2016-07-11 Thread Namhyung Kim
On Wed, Jul 06, 2016 at 02:20:23PM +0900, Taeung Song wrote: > Set default config values for 'annotate' section with > 'annotate_config_items[]' > instead of actual bool type values. > (e.g. using annotate_config_items[CONFIG_ANNOTATE_USE_OFFSET].value > instead of 'true' bool type value for 'anno

Re: [PATCH v5 5/7] perf config: Initialize ui_browser__colorsets with default config items

2016-07-11 Thread Namhyung Kim
On Wed, Jul 06, 2016 at 02:20:21PM +0900, Taeung Song wrote: > Set default config values for 'colors' section with 'colors_config_items[]' > instead of actual const char * type values. > (e.g. using colors_config_item[CONFIG_COLORS_TOP].value > instead of "red, default" string value for 'colors.top

RE: Regression in 4.7-rc7

2016-07-11 Thread Zheng, Lv
We will revert 3 commits to fix this issue. And re-enable the reverted feature in the future when it is safe to re-enable it. See this bug for reference: https://bugzilla.kernel.org/show_bug.cgi?id=121701 Thanks and best regards -Lv > From: Jens Axboe [mailto:ax...@kernel.dk] > Subject: Regressi

Re: [RFC PATCH v5 0/7] perf config: Introduce default config key-value pairs arrays

2016-07-11 Thread Namhyung Kim
Hi Taeung, On Tue, Jul 12, 2016 at 01:20:35PM +0900, Taeung Song wrote: > Hi, Namhyung :) > > As you know, the patch work from v3 to v4 took too long time > because of a patchset refactoring perf_config(). > > So I guess it is hard for you to recall this patchset for new default > config arrays

Re: [PATCH 1/2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-07-11 Thread Guodong Xu
Dear maintainers, Would you have a review on this? -Guodong On 23 June 2016 at 12:58, Guodong Xu wrote: > Two LED triggers are defined: tx_led and rx_led. Upon frames > available in HCI core layer, for tx or for rx, the combined LED > can blink. > > Verified on HiKey, 96boards. It uses hi6220 S

Re: [PATCH] vfs: check i_count under lock in evict_inodes

2016-07-11 Thread Al Viro
On Mon, Jul 11, 2016 at 06:31:57PM -0700, David Chen wrote: > Hi Al, > > I'm not sure about the in-tree fs, but in zfsonlinux, it would offload > iput to a thread, so this would happen there. And it would wait for > the thread in put_super(), so that part is not a problem... *shrug* I hadn't loo

[git pull] vfs.git fixes

2016-07-11 Thread Al Viro
The following changes since commit a99cde438de0c4c0cecc1d1af1a55a75b10bfdef: Linux 4.7-rc6 (2016-07-03 23:01:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus for you to fetch changes up to 6d4e56ce977864b0fcd28c61555060e6

Re: [PATCH v2] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-11 Thread Baolin Wang
On 11 July 2016 at 19:38, Michal Nazarewicz wrote: > On Mon, Jul 11 2016, Baolin Wang wrote: >> Some gadget device (such as dwc3 gadget) requires quirk_ep_out_aligned_size >> attribute, which means it need to align the request buffer's size to an ep's >> maxpacketsize. >> >> Thus we add usb_ep_ali

Re: [PATCH v3 0/7] PCI: Add support for enforcing all MMIO BARs not to share PAGE_SIZE

2016-07-11 Thread Yongji Xie
Hi Bjorn, Any comment on V3? Thanks, Yongji On 2016/6/30 18:53, Yongji Xie wrote: This series aims to add an option for PCI resource allocator to force BARs not to share PAGE_SIZE. This would make sense to VFIO driver. Because current VFIO implementation disallows to mmap sub-page(size < PAG

Re: [patch 10/15] sched/migration: Move calc_load_migrate() into CPU_DYING

2016-07-11 Thread Anton Blanchard
Hi Thomas, > It really does not matter when we fold the load for the outgoing cpu. > It's almost dead anyway, so there is no harm if we fail to fold the > few microseconds which are required for going fully away. We are seeing the load average shoot up when hot unplugging CPUs (+1 for every CPU w

Re: [RFC PATCH 0/4] drm: bridge: anx7688 and mux drivers

2016-07-11 Thread Archit Taneja
On 07/06/2016 07:28 AM, Nicolas Boichat wrote: Hi Archit, Sorry got swamped by other things and forgot to reply. On Tue, Jun 28, 2016 at 4:28 PM, Archit Taneja wrote: On 06/27/2016 01:18 PM, Nicolas Boichat wrote: Hi all, This is a follow up to the 2 patches to add support for ANX7688

Re: crypto: ux500 - memmove the right size

2016-07-11 Thread Herbert Xu
On Mon, Jul 11, 2016 at 04:40:34PM +0200, Toralf Förster wrote: > While reading the comment to 19ced623d : > > "The hash buffer is really HASH_BLOCK_SIZE bytes, someone > must have thought that memmove takes n*u32 words by mistake. > Tests work as good/bad as before after this patch. >

Re: [PATCH 3/3] crypto: Added Chelsio Menu to the Kconfig file

2016-07-11 Thread kbuild test robot
Hi, [auto build test WARNING on net-next/master] [also build test WARNING on v4.7-rc7 next-20160711] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Yeshaswi-M-R-Gowda/crypto-chcr-Add-Chelsio

Re: [PATCH v2 01/10] ARM: NUC900: Add nuc970 machine support

2016-07-11 Thread Wan Zongshun
On 2016年07月12日 00:04, Arnd Bergmann wrote: On Sunday, July 10, 2016 3:27:21 PM CEST Wan Zongshun wrote: +ifeq ($(CONFIG_SOC_NUC970),) obj-y := irq.o time.o mfp.o gpio.o clock.o obj-y += clksel.o dev.o cpu.o +endif # W90X900 CPU support fi

Re: [PATCH] dmaengine: pxa_dma: implement device_synchronize

2016-07-11 Thread Vinod Koul
On Sun, Jul 10, 2016 at 11:50:49PM +0200, Robert Jarzmik wrote: > Implement the function which wait until a dma channel is stopped to have > a synchronization point. > > This also protects the pxad_remove() from races, such as spurious > interrupts while removing the driver, because : > - as long

Re: [PATCH] dmaengine: zynqmp: avoid cast warning

2016-07-11 Thread Vinod Koul
On Mon, Jul 11, 2016 at 11:46:09PM +0200, Arnd Bergmann wrote: > The newly added zynqmp_dma driver produces a warning on 32-bit architectures > when dma_addr_t is 64-bit wide: > > drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_config_sg_ll_desc': > drivers/dma/xilinx/zynqmp_dma.c:321:9:

Re: [PATCH] dmaengine: xilinx: Fix race condition in axi dma cyclic dma mode

2016-07-11 Thread Vinod Koul
On Sat, Jul 09, 2016 at 02:09:48PM +0530, Kedareswara rao Appana wrote: > In cyclic DMA mode need to link the tail bd segment > with the head bd segment to process bd's in cyclic. > > Current driver is doing this only for tx channel > needs to update the same for rx channel case also. Applied, th

Re: [RFC PATCH v5 0/7] perf config: Introduce default config key-value pairs arrays

2016-07-11 Thread Taeung Song
Hi, Namhyung :) As you know, the patch work from v3 to v4 took too long time because of a patchset refactoring perf_config(). So I guess it is hard for you to recall this patchset for new default config arrays but could you a bit response two simple questions ? 1) I renamed 'fb_ground' to 'for

Re: [PATCH 4.6 00/31] 4.6.4-stable review

2016-07-11 Thread Kevin Hilman
Guenter Roeck writes: > On Mon, Jul 11, 2016 at 01:04:35PM -0700, Kevin Hilman wrote: >> kernelci.org bot writes: >> >> > stable-rc boot: 558 boots: 4 failed, 549 passed with 5 offline >> > (v4.6.2-121-g6b5d7d0432d9) >> > >> > Full Boot Summary: >> > https://kernelci.org/boot/all/job/stable-r

Re: [PATCH v2 0/4] implement vcpu preempted check

2016-07-11 Thread Juergen Gross
On 11/07/16 17:10, Waiman Long wrote: > On 07/06/2016 02:52 AM, Peter Zijlstra wrote: >> On Tue, Jun 28, 2016 at 10:43:07AM -0400, Pan Xinhui wrote: >>> change fomr v1: >>> a simplier definition of default vcpu_is_preempted >>> skip mahcine type check on ppc, and add config. remove dedicate

RE: [PATCH v2 2/5] usb: DT binding documentation for qoriq usb 2.0 controller

2016-07-11 Thread Rajesh Bhagat
> -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, July 11, 2016 12:19 PM > To: Rajesh Bhagat > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; Peter Chen ; > gre...@linuxfoundation.org; kis...@ti.com; robh...

RE: [PATCH v2 3/5] drivers: usb: phy: Add qoriq usb 2.0 phy driver support

2016-07-11 Thread Rajesh Bhagat
> -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, July 11, 2016 12:24 PM > To: Rajesh Bhagat > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; Peter Chen ; > gre...@linuxfoundation.org; kis...@ti.com; robh...

Re: [PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node

2016-07-11 Thread Kevin Hilman
Guenter Roeck writes: > On 07/10/2016 02:11 AM, Neil Armstrong wrote: >> Signed-off-by: Neil Armstrong > > Reviewed-by: Guenter Roeck > > Would this go in through one of the arm trees ? You can take the driver through the watchdog tree, but I'll take the DT stuff through the amlogic tree (and

linux-next: manual merge of the xen-tip tree with the pm tree

2016-07-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: drivers/acpi/scan.c between commit: 68bdb6773289 ("ACPI: add support for ACPI reconfiguration notifiers") from the pm tree and commit: c8ac8b6fb495 ("Xen: ACPI: Hide UART used by Xen") from the xen-tip tree. I fix

RE: Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-11 Thread 河合英宏 / KAWAI,HIDEHIRO
Hi Xunlei, Thanks for the review. > From: Xunlei Pang [mailto:xp...@redhat.com] > Sent: Tuesday, July 12, 2016 12:12 PM > On 2016/07/05 at 19:33, Hidehiro Kawai wrote: > > This patch fixes one of the problems reported by Daniel Walker > > (https://lkml.org/lkml/2015/6/24/44). > > > > If crash_kex

[PATCH] irqchip/gicv3-its: Enable cacheable attribute Read-allocate hints

2016-07-11 Thread Shanker Donthineni
Read-allocation hints are not enabled for both the GIC-ITS and GICR tables. This forces the hardware to always read the table contents from an external memory (DDR) which is slow compared to cache memory. Most of the tables are often read by hardware. So, it's better to enable Read-allocate hints i

Re: [PATCH v7 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-07-11 Thread James Liao
Hi Matthias, On Mon, 2016-07-11 at 15:10 +0200, Matthias Brugger wrote: > > On 11/07/16 10:56, James Liao wrote: > > [...] > > > @@ -467,28 +386,54 @@ static int scpsys_probe(struct platform_device > > *pdev) > > if (PTR_ERR(scpd->supply) == -ENODEV) > >

Re: [PATCH v2 04/13] KVM: x86: dynamic kvm_apic_map

2016-07-11 Thread Yang Zhang
On 2016/7/11 23:52, Radim Krčmář wrote: 2016-07-11 16:14+0200, Paolo Bonzini: On 11/07/2016 15:48, Radim Krčmář wrote: I guess the easiest solution is to replace kvm_apic_id with a field in struct kvm_lapic, which is already shifted right by 24 in xAPIC mode. (I guess the fewest LOC is to loo

[PATCH v2] sound: oss: Remove useless initialisation

2016-07-11 Thread Amitoj Kaur Chawla
Remove useless initialisation of variable whose value is reinitialised later. The Coccinelle semantic patch used to make this change is as follows: @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; Signed-off-by: Amitoj Kaur Chawla --- Changes in v2: -Modify comm

Re: [PATCH v5] tools/perf: Fix the mask in regs_dump__printf and print_sample_iregs

2016-07-11 Thread Madhavan Srinivasan
Hi Arnaldo, Any updates for this fix. Kindly let me know. Maddy On Tuesday 28 June 2016 02:24 PM, Jiri Olsa wrote: > On Thu, Jun 23, 2016 at 11:19:27AM +0530, Madhavan Srinivasan wrote: > > SNIP > >> Changelog v1: >> 1)updated commit message and patch subject >> 2)Add the fix to print_sample_ire

[PATCH] sound: oss: Remove useless initialisation

2016-07-11 Thread Amitoj Kaur Chawla
@@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; Signed-off-by: Amitoj Kaur Chawla --- sound/oss/ad1848.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c index 10c8de1..6368e5c 100644 --- a/sound/oss/ad1848.c +

Re: [PATCH] iscsi-target: fix panic when add the second TCP connection to iSCSI session

2016-07-11 Thread Feng Li
Add ls...@suse.com 2016-07-11 22:23 GMT+08:00 冯力 : > This problem exists at least from v3.16. > The upstream kernel still exists this issue. > > I have tested my patch and the following panic is disappeared. > > Thanks, > - Alex > > #dmesg > > [ 1160.788676] sd 16:0:0:0: [sde] Attached SCSI disk >

Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-11 Thread Xunlei Pang
On 2016/07/05 at 19:33, Hidehiro Kawai wrote: > This patch fixes one of the problems reported by Daniel Walker > (https://lkml.org/lkml/2015/6/24/44). > > If crash_kexec_post_notifiers boot option is specified, other CPUs > are stopped by smp_send_stop() instead of machine_crash_shutdown() > in cra

Re: [RFC PATCH v2 6/7] lib/persubnode: Introducing a simple per-subnode APIs

2016-07-11 Thread Boqun Feng
On Mon, Jul 11, 2016 at 01:32:11PM -0400, Waiman Long wrote: > The percpu APIs are extensively used in the Linux kernel to reduce > cacheline contention and improve performance. For some use cases, the > percpu APIs may be too fine-grain for distributed resources whereas > a per-node based allocati

Re: tty/vt/keyboard: out of bounds access in do_compute_shiftstate

2016-07-11 Thread Dmitry Torokhov
On Mon, Jun 27, 2016 at 02:27:56PM -0700, Dmitry Torokhov wrote: > On Sun, May 29, 2016 at 01:52:44PM -0400, Sasha Levin wrote: > > Hi all, > > > > I've hit the following while fuzzing with syzkaller inside a KVM tools guest > > running the latest -next kernel: > > > > [ 2662.777566] BUG: KASAN:

[Patch v1] netlogic/platform_net: Catch failure to register NETLOGIC_XLR_NET device.

2016-07-11 Thread Arvind Yadav
This driver Kconfig is depend on CPU_XLR. If default Kconfig NETLOGIC_XLR_NET value are used with CPU_XLR then you end up with a resource. This causes __request_resource to return a conflict which then returns an -EBUSY error code. The driver netlogic/platform_net.c assumes that the platfom_device

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-11 Thread Dave Chinner
On Mon, Jul 11, 2016 at 10:02:24AM +0100, Mel Gorman wrote: > On Mon, Jul 11, 2016 at 10:47:57AM +1000, Dave Chinner wrote: > > > I had tested XFS with earlier releases and noticed no major problems > > > so later releases tested only one filesystem. Given the changes since, > > > a retest is desi

Re: [dm-devel] [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2016-07-11 Thread NeilBrown
On Tue, Jul 12 2016, Lars Ellenberg wrote: > > Instead, I suggest to distinguish between recursive calls to > generic_make_request(), and pushing back the remainder part in > blk_queue_split(), by pointing current->bio_lists to a > struct recursion_to_iteration_bio_lists { >

RE: Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-11 Thread 河合英宏 / KAWAI,HIDEHIRO
Hi Dave, Thanks for the comments. > From: Dave Young [mailto:dyo...@redhat.com] > Sent: Monday, July 11, 2016 5:35 PM > > On 07/05/16 at 08:33pm, Hidehiro Kawai wrote: > > This patch fixes one of the problems reported by Daniel Walker > > (https://lkml.org/lkml/2015/6/24/44). > > > > If crash_ke

Re: [PATCH v4 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc.

2016-07-11 Thread zhiyong tao
On Mon, 2016-07-11 at 14:39 +0800, Zhiyong Tao wrote: > The commit adds the device tree binding documentation for the mediatek > auxadc found on Mediatek MT2701. > Thermal gets auxadc sample data by iio device. > So the commit changes auxadc device tree binding documentation from > /soc/mediatek/au

Re: [PATCH v6 RESEND] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-07-11 Thread David Miller
From: Mario Limonciello Date: Mon, 11 Jul 2016 19:58:04 -0500 > The RTL8153-AD supports a persistent system specific MAC address. > This means a device plugged into two different systems with host side > support will show different (but persistent) MAC addresses. > > This information for the sys

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-11 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 12, 2016 at 07:51:46AM +0530, Ravi Bangoria escreveu: > Hi Arnaldo, > > On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: > > Ravi Bangoria writes: > > > > > On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: > > > > > > I've sent v4 which enables annotate for bctr'

[RFC PATCH 1/3] PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI

2016-07-11 Thread Dongdong Liu
re-architect the Hip05/Hip06 host controllers driver to prepare for the ACPI based driver. The common functions used also by the ACPI driver have been grouped into a new "common" file. Signed-off-by: Gabriele Paoloni Signed-off-by: Dongdong Liu --- MAINTAINERS | 2 + d

[RFC PATCH 2/3] PCI: hisi: Add ECAM support for devices that are not RC

2016-07-11 Thread Dongdong Liu
This patch modifies the current Hip05/Hip06 PCIe host controller driver to add support for 'almost ECAM' compliant platforms. Some controllers are ECAM compliant for all the devices of the hierarchy except the root complex; this patch adds support for such controllers. This is needed in preparatio

[RFC PATCH 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-07-11 Thread Dongdong Liu
Add specific quirks for PCI config space accessors.This involves: 1. New initialization call hisi_pcie_acpi_init() to get RC config resource with hardcoded range address and setup ecam mapping. 2. New entry in common quirk array. Signed-off-by: Dongdong Liu Signed-off-by: Gabriele Paoloni --- M

[RFC PATCH 0/3] Add ACPI support for Hisilicon PCIe Host Controller

2016-07-11 Thread Dongdong Liu
This patchset adds ACPI support for the HiSilicon Hip05/Hip06 SoC PCIe controllers. The three patches respectively: - re-architect the current HiSilicon driver to make it scalable to the new ACPI quirks. - rework the current HiSilicon driver to add support for ECAM

Re: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Lu Baolu
Hi, On 07/12/2016 09:48 AM, Lipengcheng wrote: > Hi, > >> -Original Message- >> From: Lu Baolu [mailto:baolu...@linux.intel.com] >> Sent: Tuesday, July 12, 2016 8:42 AM >> To: Lipengcheng; gre...@linuxfoundation.org; st...@rowland.harvard.edu; >> chasemetzge...@gmail.com; mathias.ny...@li

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-11 Thread Ravi Bangoria
Hi Arnaldo, On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: Ravi Bangoria writes: On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: I've sent v4 which enables annotate for bctr' instructions. for 'bctr', it will show down arrow(indicate jump) and 'bctrl' will show right a

Re: [PATCH 2/2] kexec: add a pmd huge entry condition during the page table

2016-07-11 Thread zhong jiang
On 2016/7/12 4:25, Andrew Morton wrote: > On Mon, 11 Jul 2016 14:36:01 +0800 zhongjiang wrote: > >> From: zhong jiang >> >> when image is loaded into kernel, we need set up page table for it. >> and all valid pfn also set up new mapping. it will set up a pmd huge >> entry if pud_present is true.

Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space

2016-07-11 Thread Simon Guo
On Fri, Jul 08, 2016 at 08:02:42PM +1000, Michael Ellerman wrote: > Benjamin Herrenschmidt writes: > > > On Thu, 2016-07-07 at 23:21 +1000, Benjamin Herrenschmidt wrote: > >>  > >> I think the right fix is that if a restore_sigcontext() has the MSR > >> bits set, > >> it should set the correspond

Re: [PATCH v2] clk: imx7d: do not set parent of ethernet time/ref clocks

2016-07-11 Thread Fabio Estevam
Hi Mike, On Wed, Jul 6, 2016 at 9:53 PM, Michael Turquette wrote: > Quoting Stefan Agner (2016-07-03 10:48:13) >> All device trees currently in mainline specify the time clock parent >> using the assigned-clocks/assigned-clock-parents method, there is no >> need to statically assign the parent in

Re: [PATCH v5 7/7] ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k

2016-07-11 Thread Chen-Yu Tsai
On Mon, Jul 11, 2016 at 2:50 PM, Maxime Ripard wrote: > Hi, > > On Fri, Jul 08, 2016 at 10:33:42PM +0800, Chen-Yu Tsai wrote: >> The 32.768 kHz clock inside the A80 SoC is fed from an external source, >> typically the AC100 RTC module. >> >> Make the osc32k placeholder a fixed-factor clock so boar

Re: [PATCH v1 0/3] Fix seccomp for UM (next)

2016-07-11 Thread Kees Cook
On Mon, Jul 11, 2016 at 5:56 PM, Mickaël Salaün wrote: > Hi, > > This series fix the recent seccomp update for the User-mode Linux architecture > (32-bit and 64-bit) since commit 26703c636c1f3272b39bd0f6d04d2e970984f1b6 > (close the hole where ptrace can change a syscall out from under seccomp). >

Re: [PATCH 25/27] HID: wacom: leds: fix ordering of LED banks

2016-07-11 Thread Peter Hutterer
On Tue, Jul 05, 2016 at 04:39:21PM +0200, Benjamin Tissoires wrote: > Historically, 21UX2 and 24HD have the select groups inverted > (0 is the right LED bank, and 1 the left one). > > This is not right, so fix that in the new LED API. For backward > compatibility, we keep the wacom_led sysfs ABI s

Re: [PATCH v7 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-07-11 Thread Yingjoe Chen
> >>> checkpatch.pl will warn for above code due to it returns in 'if' branch. > >>> > >> > >> I tried that on top of next-20160706 and it checkpatch didn't throw any > >> warning. Which kernel version are based on? > > >

Re: [PATCH 3/3] Documentation: mmc: add description for new no-sd* and no-mmc

2016-07-11 Thread Shawn Lin
Hi Rob, On 2016/7/11 21:57, Rob Herring WROTE: On Fri, Jul 01, 2016 at 03:45:30PM +0800, Shawn Lin wrote: This patch adds description for no-sd, no-sdio, no-mmc. We expect the specific boards adds these in DT to improve the initialization. For instance, for a soldered eMMC slot, we could skip s

RE: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Lipengcheng
Hi, > -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Tuesday, July 12, 2016 8:42 AM > To: Lipengcheng; gre...@linuxfoundation.org; st...@rowland.harvard.edu; > chasemetzge...@gmail.com; mathias.ny...@linux.intel.com; > oneu...@suse.com; jun...@freescale.com

RE: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Lipengcheng
Hi, > -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Monday, July 11, 2016 10:51 PM > To: Lipengcheng > Cc: gre...@linuxfoundation.org; baolu...@linux.intel.com; > chasemetzge...@gmail.com; mathias.ny...@linux.intel.com; > oneu...@suse.com; jun...@freesca

Re: a question about protection_map[]

2016-07-11 Thread Kirill A. Shutemov
On Tue, Jul 12, 2016 at 09:31:30AM +0800, Xishi Qiu wrote: > On 2016/7/11 21:30, Kirill A. Shutemov wrote: > > > On Mon, Jul 11, 2016 at 06:12:30PM +0800, Xishi Qiu wrote: > >> Hi, > >> > >> We can use mprotect to set read only or read/write. > >> > >> mprotect_fixup() > >>vma_set_page_prot()

Re: [f2fs-dev] [PATCH] f2fs: return proper error code

2016-07-11 Thread Chao Yu
On 2016/7/11 7:20, Tiezhu Yang wrote: > When the length of file name is more than F2FS_NAME_LEN, Seem @name indicates a xattr/key name, not a file name. Thanks, > it should return -ENAMETOOLONG. > > Signed-off-by: Tiezhu Yang > --- > fs/f2fs/xattr.c | 4 ++-- > 1 file changed, 2 insertions(+)

Re: [PATCH 23/27] HID: wacom: leds: use the ledclass instead of custom made sysfs files

2016-07-11 Thread Peter Hutterer
On Tue, Jul 05, 2016 at 04:39:19PM +0200, Benjamin Tissoires wrote: > The now obsolete sysfs files for LEDs and EKRemote are kept for backward > compatibility. > Both the EKR (read-only) and the regular Cintiqs and Intuos are now > sharing the same led API. > > Signed-off-by: Benjamin Tissoires >

Re: [PATCH] vfs: check i_count under lock in evict_inodes

2016-07-11 Thread Christoph Hellwig
On Mon, Jul 11, 2016 at 06:31:57PM -0700, David Chen wrote: > Hi Al, > > I'm not sure about the in-tree fs, but in zfsonlinux, it would offload > iput to a thread, so this would happen there. And it would wait for > the thread in put_super(), so that part is not a problem... And why exactly is yo

Re: [f2fs-dev] [PATCH 3/7] f2fs: drop any block plugging

2016-07-11 Thread Chao Yu
On 2016/7/10 0:32, Jaegeuk Kim wrote: > On Sat, Jul 09, 2016 at 10:28:49AM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/6/9 1:24, Jaegeuk Kim wrote: >>> In f2fs, we don't need to keep block plugging for NODE and DATA writes, >>> since >>> we already merged bios as much as possible. >> >> IMO

[RFC 1/3] syscall: add kexec_file_load to generic unistd.h

2016-07-11 Thread AKASHI Takahiro
Currently kexec_file_load is supported only on x86, but it will be supported on powerpc and arm64 in near future. Since both archs use asm-generic/unistd.h, this patch adds the entry to this file. Signed-off-by: AKASHI Takahiro --- include/uapi/asm-generic/unistd.h | 8 +++- 1 file changed,

[RFC 3/3] kexec: extend kexec_file_load system call

2016-07-11 Thread AKASHI Takahiro
Device tree blob must be passed to a second kernel on DTB-capable archs, like powerpc and arm64, but the current kernel interface lacks this support. This patch extends kexec_file_load system call by adding an extra argument to this syscall so that an arbitrary number of file descriptors can be ha

[RFC 2/3] kexec: add dtb info to struct kimage

2016-07-11 Thread AKASHI Takahiro
Device tree blob must be passed to a second kernel on DTB-capable archs, like powerpc and arm64, but the current kernel interface lacks this support. This patch adds dtb buffer information to struct kimage. When users don't specify dtb explicitly and the one used for the current kernel can be re-u

[RFC 0/3] extend kexec_file_load system call

2016-07-11 Thread AKASHI Takahiro
Device tree blob must be passed to a second kernel on DTB-capable archs, like powerpc and arm64, but the current kernel interface lacks this support. This patch extends kexec_file_load system call by adding an extra argument to this syscall so that an arbitrary number of file descriptors can be

[PATCH] iommu: arm-smmu: drop devm_free_irq when driver detach

2016-07-11 Thread Peng Fan
There is no need to call devm_free_irq when driver detach. devres_release_all which is called after 'drv->remove' will release all managed resources. Signed-off-by: Peng Fan Cc: Will Deacon Cc: Robin Murphy --- drivers/iommu/arm-smmu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/driv

Re: a question about protection_map[]

2016-07-11 Thread Xishi Qiu
On 2016/7/11 21:30, Kirill A. Shutemov wrote: > On Mon, Jul 11, 2016 at 06:12:30PM +0800, Xishi Qiu wrote: >> Hi, >> >> We can use mprotect to set read only or read/write. >> >> mprotect_fixup() >> vma_set_page_prot() >> vm_pgprot_modify() >> vm_get_page_prot

Re: [PATCH] vfs: check i_count under lock in evict_inodes

2016-07-11 Thread David Chen
Hi Al, I'm not sure about the in-tree fs, but in zfsonlinux, it would offload iput to a thread, so this would happen there. And it would wait for the thread in put_super(), so that part is not a problem... Thanks 2016-07-11 17:46 GMT-07:00 Al Viro : > On Mon, Jul 11, 2016 at 05:15:04PM -0700, Ch

Re: [PATCH v3] f2fs: fix to avoid data update racing between GC and DIO

2016-07-11 Thread Chao Yu
On 2016/7/10 0:22, Jaegeuk Kim wrote: > On Fri, Jul 08, 2016 at 11:50:02PM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/7/8 11:19, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> Could you take a look at this in xfstests/generic/013? >>> >>> [ 502.480850]

Re: [PATCH] pwm: Create device class for pwm channels

2016-07-11 Thread David Hsu
On Mon, Jul 11, 2016 at 2:39 AM, Thierry Reding wrote: > On Wed, Jun 15, 2016 at 04:52:56PM -0700, David Hsu wrote: >> On Wed, Jun 15, 2016 at 7:37 AM, Thierry Reding >> wrote: >> > On Tue, Jun 14, 2016 at 07:12:04PM -0700, Greg KH wrote: >> >> From: David Hsu >> >> >> >> Pwm channels don't send

Re: [PATCH] iommu: arm-smmu: use devm_request_irq and devm_free_irq

2016-07-11 Thread Peng Fan
Hi Robin, On Mon, Jul 11, 2016 at 11:32:55AM +0100, Robin Murphy wrote: >On 04/07/16 10:38, Peng Fan wrote: >> Use devm_request_irq to simplify error handling path, >> when probe smmu device. >> >> Also devm_{request|free}_irq when init or destroy domain context. >> >> Signed-off-by: Peng Fan >>

Re: [lkp] [ACPI / APEI] a3e2acc5e3: kmsg.BERT:Can't_request_iomem_region<#-#>

2016-07-11 Thread Luck, Tony
Get BIOS version with: # dmidecode -t 0 Sent from my iPhone > On Jul 11, 2016, at 17:54, Ye, Xiaolong wrote: > >> On Sun, Jul 10, 2016 at 08:28:37PM -0700, Tony Luck wrote: >> I'm very surprised that there was a BERT table on an Atom machine. More >> details about the machine please. Also

Re: [PATCH v2 18/22] usb: chipidea: msm: Add reset controller for PHY POR bit

2016-07-11 Thread Peter Chen
On Mon, Jul 11, 2016 at 03:07:24PM -0700, Stephen Boyd wrote: > On 10 July 2016 at 22:32, Peter Chen wrote: > > On Thu, Jul 07, 2016 at 03:21:09PM -0700, Stephen Boyd wrote: > >> @@ -40,11 +43,38 @@ struct ci_hdrc_msm { > >> struct clk *iface_clk; > >> struct clk *fs_clk; > >> st

Re: [PATCH v2 15/22] usb: chipidea: msm: Mux over secondary phy at the right time

2016-07-11 Thread Peter Chen
On Mon, Jul 11, 2016 at 03:03:37PM -0700, Stephen Boyd wrote: > On 10 July 2016 at 21:43, Peter Chen wrote: > > On Thu, Jul 07, 2016 at 03:21:06PM -0700, Stephen Boyd wrote: > >> diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c > >> b/drivers/usb/chipidea/ci_hdrc_msm.c > >> index 7e870a253f55..770

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-11 Thread John Stultz
On Wed, Jul 6, 2016 at 1:13 AM, Wei Xu wrote: > Hi Arnd, Olof, > > On 06/07/2016 08:38, Arnd Bergmann wrote: >> On Wednesday, July 6, 2016 12:20:15 AM CEST John Stultz wrote: >>> On Wed, Jul 6, 2016 at 12:04 AM, Olof Johansson wrote: On Tue, Jul 5, 2016 at 11:55 PM, John Stultz wrote:

[PATCH] memblock: include instead of

2016-07-11 Thread Christoph Hellwig
asm-generic headers are generic implementations for architecture specific code and should not be included by common code. Thus use the asm/ version of sections.h to get at the linker sections. Signed-off-by: Christoph Hellwig --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

  1   2   3   4   5   6   7   8   9   >