[PATCH v2] ARM: brcmstb: Add earlyprintk support using run-time checks

2016-07-11 Thread Florian Fainelli
The SUN_TOP_CTRL_FAMILY_ID register is at a fixed absolute address for all of our supported chips, so utilize its value to determine what the UARTA base address should be based on the value we read. Since the code is called both during decompressor when the MMU is off, and after the MMU has been

linux-next: manual merge of the tegra tree with the samsung-krzk tree

2016-07-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tegra tree got a conflict in: arch/arm64/configs/defconfig between commit: 426f754be0bc ("arm64: defconfig: Enable more IP blocks for Exynos7 and Exynos5433") from the samsung-krzk tree and commit: 10a7b37b5b96 ("arm64: Update default configurati

Re: [PATCH 3/7] security,overlayfs: Provide security hook for copy up of xattrs for overlay file

2016-07-11 Thread Stephen Rothwell
Hi Vivek, On Mon, 11 Jul 2016 09:40:04 -0400 Vivek Goyal wrote: > > On Sat, Jul 09, 2016 at 01:41:38AM +0800, kbuild test robot wrote: > > Hi, > > > > [auto build test ERROR on next-20160708] > > [also build test ERROR on v4.7-rc6] > > [cannot apply to pcmoore-selinux/next security/next v4.7-rc6

[PATCH v5] gpio: add Intel WhiskeyCove GPIO driver

2016-07-11 Thread Bin Gao
This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. This driver is based on gpio-crystalcove.c. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- Changes in v5: - Revisited the interrupt handler code to iterate until all pending interrupts are handled. This change is

Re: [PATCH v4] gpio: add Intel WhiskeyCove GPIO driver

2016-07-11 Thread Bin Gao
On Wed, Jul 06, 2016 at 10:57:19AM +0200, Linus Walleij wrote: > > + gpiochip_irqchip_add(&wg->chip, &wcove_irqchip, 0, > > +handle_simple_irq, IRQ_TYPE_NONE); > > Reexamine the use of handle_simple_irq() here. We have two kinds of > irq hardware: those with one r

Re: [PATCH V2 1/2] soc: brcmstb: Add Product ID and Family ID helper functions

2016-07-11 Thread Florian Fainelli
On 05/27/2016 12:57 PM, Al Cooper wrote: > Signed-off-by: Al Cooper > --- > drivers/soc/brcmstb/common.c| 12 > include/linux/soc/brcmstb/brcmstb.h | 10 ++ > 2 files changed, 22 insertions(+) > > diff --git a/drivers/soc/brcmstb/common.c b/drivers/soc/brcmstb/common

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 2/2] usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver

2016-07-11 Thread Florian Fainelli
+Kishon, On 05/27/2016 12:57 PM, Al Cooper wrote: > Add a new USB Phy driver for Broadcom STB SoCs. This driver > supports all Broadcom STB ARM SoCs. This driver in combination > with the generic ohci, ehci and xhci platform drivers will enable > USB1.1, USB2.0 and USB3.0 support. This Phy driver

Re: [PATCH 2/2] trace-cmd: Use tracecmd_peek_next_data() in fgraph_ent_handler

2016-07-11 Thread Namhyung Kim
Hi Steve, On Mon, Jul 11, 2016 at 12:55:22PM -0400, Steven Rostedt wrote: > On Fri, 8 Jul 2016 14:56:12 +0900 > Namhyung Kim wrote: > > > When a task was migrated to other cpu in the middle of a function, the > > fgraph_exit record will be in a different cpu than the enter record. > > But curre

Re: [PATCH] PNP: make pnpbios core explicitly non-modular

2016-07-11 Thread Rafael J. Wysocki
On 7/3/2016 8:20 PM, Paul Gortmaker wrote: The Kconfig currently controlling compilation of this code is: config PNPBIOS bool "Plug and Play BIOS support" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity, so that when r

[PATCH] vfs: check i_count under lock in evict_inodes

2016-07-11 Thread Chunwei Chen
We need to check i_count again with i_lock held, because iput might re-add i_count when lazytime is on. Without this check, we could end up with double-free or use-after-free. Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: sta...@vger.kernel.org Signed-o

Re: [PATCH] drm/vc4: remove redundant ret status check

2016-07-11 Thread Eric Anholt
Colin King writes: > From: Colin Ian King > > At the current point where ret is being checked for non-zero it has > not changed since it was initialized to zero, hence the check and the > label unref are redundant and can be removed. Reviewed-by: Eric Anholt I'll put this in my next pull requ

[PATCH v1 3/3] seccomp: Remove 2-phase API documentation

2016-07-11 Thread Mickaël Salaün
Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") Signed-off-by: Mickaël Salaün Cc: Kees Cook Cc: Andy Lutomirski Cc: James Morris --- arch/Kconfig | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index d794384a0404..96e434638767 100644 --- a/arch/

[PATCH] media: s5p-mfc remove void function return statement

2016-07-11 Thread Shuah Khan
Remove void function return statement Signed-off-by: Shuah Khan --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index c96421f..b6fde20 100644 --- a/drivers/media/p

[PATCH v2 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-11 Thread Hoan Tran
This patch set adds hardware temperature and power reading support ​for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, tested with this patch[1] which supports PCC subspace 2 [1] http://www.spinic

[PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-11 Thread Hoan Tran
This patch adds the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt diff

[PATCH v2 2/3] hwmon: xgene: Add hwmon driver

2016-07-11 Thread Hoan Tran
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile | 1 + drivers/hwmon/xgen

[PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-11 Thread Hoan Tran
This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

Re: [Xen-devel] [PATCH] xen_pvscsi: reclaim the ring request when mapping data failed

2016-07-11 Thread Bin Wu
On 2016/7/11 17:53, Juergen Gross wrote: On 11/07/16 11:50, David Vrabel wrote: On 11/07/16 10:33, Juergen Gross wrote: On 11/07/16 04:51, Bin Wu wrote: During scsi command queueing, if mapping data fails, we need to reclaim the failed request. Otherwise, the garbage request will be pushed int

[PATCH v2] xen_pvscsi: reclaim the ring request when the prepairing failed

2016-07-11 Thread Bin Wu
During scsi command queueing or exception handling, if prepairing fails, we need to reclaim the failed request. Otherwise, the garbage request will be pushed into the ring for the backend to work. Signed-off-by: Bin Wu --- drivers/scsi/xen-scsifront.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] amba: Support clk parents and rates assigned in DT

2016-07-11 Thread Jorge Ramirez
On 07/11/2016 11:08 PM, Stephen Boyd wrote: Add the call to of_clk_set_defaults() into the amba probe path so that devices on the amba bus can use the assigned rates and parents feature of the common clock framework. Cc: Michael Turquette Cc: Jorge Ramirez Ortiz Signed-off-by: Stephen Boyd

Re: [PATCH v2 4/4] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-11 Thread Dmitry Torokhov
On Mon, Jul 11, 2016 at 01:34:08PM +0200, Benjamin Tissoires wrote: > On Fri, Jul 8, 2016 at 7:51 PM, Dmitry Torokhov > wrote: > > On Fri, Jul 08, 2016 at 11:17:39AM +0200, Benjamin Tissoires wrote: > >> Hi, > >> > >> On Thu, Jul 7, 2016 at 9:11 AM, Lv Zheng wrote: > >> > There are many AML table

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

2016-07-11 Thread Lu Baolu
Hi, On 07/11/2016 08:57 PM, Pengcheng Li wrote: > A usb device in the connection state. Then host is suspend and resume. > But the usb device could not be at the right speed. We should be reset > the reset. Have you tried applying XHCI_RESET_ON_RESUME quirk to your host controller driver? Is your

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

2016-07-11 Thread Al Viro
On Mon, Jul 11, 2016 at 05:15:04PM -0700, Chunwei Chen wrote: > We need to check i_count again with i_lock held, because iput might re-add > i_count when lazytime is on. Without this check, we could end up with > double-free or use-after-free. Details, please. Ideally - with a reproducer. Who is

[PATCH] DMA-API-HOWTO: is no more

2016-07-11 Thread Christoph Hellwig
So don't mention it. Signed-off-by: Christoph Hellwig --- Documentation/DMA-API-HOWTO.txt | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 781024e..494ffac 100644 --- a/Documentation/DMA-API-HOWTO.tx

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

2016-07-11 Thread Ye Xiaolong
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 BIOS version. Hi, ying Could you tell me what's BERT table? and how to check the BIOS version? Thanks, Xiaolong > >Sent fr

[PATCH] printk: 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 --- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] kprobes: 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 --- kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

RE: Hi, Ingo, would you please help drop the TSC MSR calibration patch

2016-07-11 Thread Chen, Yu C
Hi, > -Original Message- > From: Pan, Jacob jun > Sent: Tuesday, July 12, 2016 5:19 AM > To: Ingo Molnar > Cc: Chen, Yu C; 'Len Brown'; Jacob Pan; H. Peter Anvin; Peter Zijlstra; > x...@kernel.org; linux-kernel@vger.kernel.org; Pan, Jacob jun > Subject: Re: Hi, Ingo, would you please help

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

2016-07-11 Thread Mario Limonciello
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 system's persistent MAC address is burned in when the system HW is built and

[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(

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:

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 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: [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] 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: [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 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] 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: 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

[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

[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

[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 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,

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

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: [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: [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: 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: [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: [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 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 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 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 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 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 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: [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 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: [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] 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

[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

[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

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'

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 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: 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: [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: [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

[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: 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:

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: [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: [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 >

[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 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 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 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

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) > >

[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: 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

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: [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

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 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 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 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: [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] 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: [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: 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 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 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: 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: [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: [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: [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

<    3   4   5   6   7   8   9   >