[PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Baolin Wang
For some mobile devices with strict power management, we also want to suspend the host when the slave was detached for power saving. Thus adding the host suspend/resume functions to support this requirement. We will issue the pm_suspend_ignore_children() for the dwc3 device, since we will resume

Re: Linux 3.18.62

2017-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index e345bd2e7576..769add3724a7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 61 +SUBLEVEL = 62 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/parisc/include/asm/dma-mapping.h

Linux 4.9.39

2017-07-21 Thread Greg KH
I'm announcing the release of the 4.9.39 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.62

2017-07-21 Thread Greg KH
I'm announcing the release of the 3.18.62 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Linux 4.4.78

2017-07-21 Thread Greg KH
I'm announcing the release of the 4.4.78 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2 01/10] clk: sunxi-ng: Add interface to query or configure MMC timing modes.

2017-07-21 Thread Maxime Ripard
Hi, On Thu, Jul 20, 2017 at 11:44:43AM +0800, Chen-Yu Tsai wrote: > Starting with the A83T SoC, Allwinner introduced a new timing mode for > its MMC clocks. The new mode changes how the MMC controller sample and > output clocks are delayed to match chip and board specifics. There are > two

Re: [PATCH] xen: selfballoon: remove unnecessary static in frontswap_selfshrink()

2017-07-21 Thread Juergen Gross
On 04/07/17 20:34, Gustavo A. R. Silva wrote: > Remove unnecessary static on local variables last_frontswap_pages and > tgt_frontswap_pages. Such variables are initialized before being used, > on every execution path throughout the function. The statics have no > benefit and, removing them reduce

Re: [PATCH] perf tool sort: Use default sort if evlist is empty

2017-07-21 Thread Jiri Olsa
On Thu, Jul 20, 2017 at 10:11:57PM -0700, David Carrillo-Cisneros wrote: > Fixes bug noted by Jiri in https://lkml.org/lkml/2017/6/13/755 and caused > by commit d49dadea7862 ("perf tools: Make 'trace' or 'trace_fields' sort >key default for tracepoint events") > not taking into account that

[PATCHv2 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-07-21 Thread George Cherian
The current cppc acpi driver works with only one pcc subspace id. It maintains and registers only one pcc channel even if the acpi table has different pcc subspace ids. As per ACPI 6.2 spec all PCC registers, for all processors in the same performance domain (as defined by _PSD), must be

[PATCHv2 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-07-21 Thread George Cherian
Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-21 Thread Icenowy Zheng
于 2017年7月21日 GMT+08:00 下午3:42:07, Chen-Yu Tsai 写到: >On Fri, Jul 21, 2017 at 7:07 AM, Icenowy Zheng wrote: >> Banana Pi M64 board uses an AXP803 PMIC. >> >> Enable the PMIC and its regulators. >> >> As we have now proper regulators support, missing or dummy

Re: [PATCH] PM / Domains: Convert to using %pOF instead of full_name

2017-07-21 Thread Ulf Hansson
On 18 July 2017 at 23:42, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring >

[PATCH v3] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-21 Thread Elaine Zhang
Fractional dividers may have special requirements concerning numerator and denominator selection that differ from just getting the best approximation. For example on Rockchip socs the denominator must be at least 20 times larger than the numerator to generate precise clock frequencies. Therefore

Re: [PATCH 03/12] ARM: normalize clk API for older platforms

2017-07-21 Thread Arnd Bergmann
On Fri, Jul 21, 2017 at 10:05 AM, Sekhar Nori wrote: >> diff --git a/arch/arm/mach-davinci/clock.c b/arch/arm/mach-davinci/clock.c >> index f5dce9b4e617..89586779526c 100644 >> --- a/arch/arm/mach-davinci/clock.c >> +++ b/arch/arm/mach-davinci/clock.c >> @@ -218,6 +218,12 @@ int

[PATCH v8 07/13] iommu/amd: Do sanity check for irq remap of old dev table entry

2017-07-21 Thread Baoquan He
Firstly split the dev table entry copy into address translation part and irq remapping part. Because these two parts could be enabled independently. Secondly check if IntCtl and IntTabLen are 10b and 1000b if they are set. Signed-off-by: Baoquan He ---

[PATCH v8 03/13] Revert "iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel"

2017-07-21 Thread Baoquan He
This reverts commit 54bd63570484167cb13edf81e31fff107b879981. We still need the IO_PAGE_FAULT message to warn error after the issue of on-flight dma in kdump kernel is fixed. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 3 +-- drivers/iommu/amd_iommu_init.c

[PATCH v8 04/13] iommu/amd: Define bit fields for DTE particularly

2017-07-21 Thread Baoquan He
In AMD-Vi spec several bits of IO PTE fields and DTE fields are similar so that both of them can share the same MACRO definition. However defining them respectively can make code more read-able. Do it now. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 8

[PATCH v8 00/13] Fix the on-flight DMA issue on system with amd iommu

2017-07-21 Thread Baoquan He
When kernel panicked and jump into the kdump kernel, DMA started by the 1st kernel is not stopped, this is called on-flight DMA. In the current code it will disable iommu and build new translation table and attach device to it. This will cause: 1. IO_PAGE_FAULT warning message can be seen. 2.

[PATCH v8 09/13] iommu/amd: Use is_attach_deferred call-back

2017-07-21 Thread Baoquan He
Implement call-back is_attach_deferred and use it to defer the domain attach from iommu driver init to device driver init when iommu is pre-enabled in kdump kernel. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 23 ++- 1 file changed, 22

Re: [PATCH] dmaengine: ioatdma: Fix error handling path in 'ioat_dma_self_test()'

2017-07-21 Thread Dan Carpenter
I'm with Christophe. ;) I never like it when people get creative with the last test in a series of tests. regards, dan carpenter

Re: [PATCH] DMA: ppc4xx: remove DRIVER_ATTR() usage

2017-07-21 Thread Vinod Koul
On Wed, Jul 19, 2017 at 02:56:28PM +0200, Greg KH wrote: > From: Greg Kroah-Hartman > > It's better to be explicit and use the DRIVER_ATTR_RW() and > DRIVER_ATTR_RO() macros when defining a driver's sysfs file. > > Bonus is this fixes up a checkpatch.pl warning.

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-21 Thread YT Shen
On Wed, 2017-07-19 at 11:26 +0200, Matthias Brugger wrote: > > On 07/19/2017 08:48 AM, YT Shen wrote: > > On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: > >> > >> On 06/22/2017 11:32 AM, YT Shen wrote: > >>> This adds basic chip support for Mediatek 2712 > > [...] > > >>> + > >>> +

Re: [PATCH v3 3/8] phy: qcom-qmp: Fix phy pipe clock name

2017-07-21 Thread Vivek Gautam
Hi, On 07/20/2017 11:04 AM, Varadarajan Narayanan wrote: Presently, the phy pipe clock's name is assumed to be either usb3_phy_pipe_clk_src or pcie_XX_pipe_clk_src (where XX is the phy lane's number). However, this will not work if an SoC has more than one instance of the phy. Hence, instead

Re: [PATCH v2 2/4] dmaengine: Add STM32 MDMA driver (fwd)

2017-07-21 Thread Vinod Koul
On Sat, Jul 08, 2017 at 08:14:51AM +0200, Julia Lawall wrote: > Please check on the comparison on line 1489. > > julia > > -- Forwarded message -- > Date: Sat, 8 Jul 2017 10:13:09 +0800 > From: kbuild test robot > To: kbu...@01.org > Cc: Julia Lawall

[PATCH V2 1/4] net-next: dsa: move struct dsa_device_ops to the global header file

2017-07-21 Thread John Crispin
We need to access this struct from within the flow_dissector to fix dissection for packets coming in on DSA devices. Signed-off-by: John Crispin --- include/net/dsa.h | 7 +++ net/dsa/dsa_priv.h | 7 --- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH V2 4/4] net-next: tag_mtk: add nh and proto offsets to the ops struct

2017-07-21 Thread John Crispin
The MT7530 inserts the 4 magic header in between the 802.3 address and protocol field. The patch defines these header such that the flow_disector can properly parse the packet and thus allows hashing to function properly. Signed-off-by: John Crispin --- net/dsa/tag_mtk.c | 6

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-21 Thread Petr Mladek
On Thu 2017-07-20 16:30:37, Joe Lawrence wrote: > On 07/18/2017 08:45 AM, Petr Mladek wrote: > > On Wed 2017-06-28 11:37:26, Joe Lawrence wrote: > >> diff --git a/kernel/livepatch/shadow.c b/kernel/livepatch/shadow.c > >> new file mode 100644 > >> index ..d37a61c57e72 > >> ---

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Manu Gautam
Hi, On 7/21/2017 2:31 PM, Baolin Wang wrote: > On 21 July 2017 at 16:45, Manu Gautam wrote: >> Hi, >> >> >> On 7/21/2017 12:28 PM, Baolin Wang wrote: >>> For some mobile devices with strict power management, we also want to >>> suspend the host when the slave was detached

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-21 Thread Miroslav Benes
> >> +{ > >> + struct klp_shadow *shadow; > >> + unsigned long flags; > >> + > >> + shadow = kzalloc(new_size + sizeof(*shadow), gfp_flags); > >> + if (!shadow) > >> + return NULL; > >> + > >> + shadow->obj = obj; > >> + shadow->num = num; > >> + if (new_data) > >> +

Re: [PATCH v2 2/4] dmaengine: Add STM32 MDMA driver

2017-07-21 Thread Pierre Yves MORDRET
On 07/21/2017 09:55 AM, Vinod Koul wrote: > On Thu, Jul 06, 2017 at 02:25:39PM +0200, Pierre-Yves MORDRET wrote: > >> +config STM32_MDMA >> +bool "STMicroelectronics STM32 master dma support" >> +depends on ARCH_STM32 || COMPILE_TEST > ^^^ > why multiple

Re: [PATCH 2/2] pinctrl: rockchip: Add rk3128 pinctrl support

2017-07-21 Thread Heiko Stuebner
Am Freitag, 21. Juli 2017, 14:27:15 CEST schrieb David Wu: > There are 3 IP blocks pin routes need to be switched, that are > emmc-cmd, spi, i2s. And there are some pins need to be recalced, > which are gpio2c4~gpio2c7 and gpio2d0. > > Signed-off-by: David Wu

Re: [PATCH 0/4] Optimise 64-bit IOVA allocations

2017-07-21 Thread Leizhen (ThunderTown)
On 2017/7/19 18:23, Robin Murphy wrote: > On 19/07/17 09:37, Ard Biesheuvel wrote: >> On 18 July 2017 at 17:57, Robin Murphy wrote: >>> Hi all, >>> >>> In the wake of the ARM SMMU optimisation efforts, it seems that certain >>> workloads (e.g. storage I/O with large

Re: [PATCH RFC v5] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-21 Thread Joel Fernandes
On Thu, Jul 20, 2017 at 9:09 PM, Viresh Kumar wrote: > On 20-07-17, 12:49, Joel Fernandes wrote: >> Yes I think that's fine, I thought about it some more and I think this >> can be an issue in a scenario where >> >> iowait_boost_max < policy->min but: Uhh I meant to say

[PATCH V2 2/3] iommu/rockchip: add multi irqs support

2017-07-21 Thread Simon Xue
From: Simon RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon --- changes since V1: - use devm_kcalloc instead of devm_kzalloc when alloc irq array drivers/iommu/rockchip-iommu.c | 34 --

Re: [PATCH] dmaengine: ioatdma: Fix error handling path in 'ioat_dma_self_test()'

2017-07-21 Thread Vinod Koul
On Wed, Jul 19, 2017 at 03:21:23PM -0700, Dave Jiang wrote: > > > On 07/19/2017 03:16 PM, Christophe JAILLET wrote: > > If the 'memcmp' fails, free allocated resources as done in all other > > error handling paths. > > > > Signed-off-by: Christophe JAILLET You

[PATCH V2 3/3] iommu/rockchip: ignore isp mmu reset operation

2017-07-21 Thread Simon Xue
From: Simon ISP mmu can't support reset operation, it won't get the expected result when reset, but rest functions work normally. Add this patch as a WA for this issue. Signed-off-by: Simon --- changes since V1: - use '-' instead of '_' for DT

[PATCH V2 1/3] Docs: dt: rockchip: add rk-iommu,disable-reset-quirk property

2017-07-21 Thread Simon Xue
From: Simon Add rk-iommu,disable-reset-quirk property to ignore the isp mmu reset operation Signed-off-by: Simon --- changes since V1: - new added file Documentation/devicetree/bindings/iommu/rockchip,iommu.txt | 5 + 1 file changed, 5

Re: [PATCH] qe: fix compile issue for arm64

2017-07-21 Thread Michael Ellerman
Zhao Qiang writes: > Signed-off-by: Zhao Qiang > --- > drivers/soc/fsl/qe/qe.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c > index 2ef6fc6..d48fa4a 100644 > --- a/drivers/soc/fsl/qe/qe.c >

Re: [PATCH] dmaengine: ioatdma: Fix error handling path in 'ioat_dma_self_test()'

2017-07-21 Thread Jiang, Dave
> On Jul 20, 2017, at 11:28 PM, Koul, Vinod wrote: > >> On Wed, Jul 19, 2017 at 03:21:23PM -0700, Dave Jiang wrote: >> >> >>> On 07/19/2017 03:16 PM, Christophe JAILLET wrote: >>> If the 'memcmp' fails, free allocated resources as done in all other >>> error handling

[PATCH v2 4/7] mailbox: bcm-flexrm-mailbox: Use bitmap instead of IDA

2017-07-21 Thread Anup Patel
Currently, we are using IDA library for managing IDs on a FlexRM ring. The IDA library dynamically allocates memory for underlying data structures which can cause potential locking issue when allocating/free IDs from flexrm_new_request() and flexrm_process_completions(). To tackle this, we

[PATCH v2 7/7] arm64: dts: Add FlexRM DT nodes for Stingray

2017-07-21 Thread Anup Patel
We have two instances of FlexRM on Stingray. One for SBA RAID offload engine and another for SPU2 Crypto offload engine. This patch adds FlexRM mailbox controller DT nodes for Stingray. Signed-off-by: Anup Patel Signed-off-by: Raveendra Padasalagi

[PATCH v2 5/7] mailbox: Make message send queue size dynamic in Linux mailbox

2017-07-21 Thread Anup Patel
Currently, the message send queue size in Linux mailbox framework is hard-coded to MBOX_TX_QUEUE_LEN which is defined as 20. This message send queue can easily overflow if mbox_send_message() is called for same mailbox channel several times. The size of message send queue should not be hard-coded

[PATCH v2 3/7] mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()

2017-07-21 Thread Anup Patel
The mask used in CMPL_START_ADDR_VALUE() should be 27bits instead of 26bits. This incorrect mask was causing completion writes to 40bits physical address fail. This patch fixes mask used in CMPL_START_ADDR_VALUE() macro. Fixes: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM ring

[PATCH v2 1/7] mailbox: bcm-flexrm-mailbox: Set IRQ affinity hint for FlexRM ring IRQs

2017-07-21 Thread Anup Patel
This patch set IRQ affinity hint for FlexRM ring IRQ at time of enabling ring (i.e. flexrm_startup()). The IRQ affinity hint will allow FlexRM driver to distribute FlexRM ring IRQs across online CPUs so that all FlexRM ring IRQs don't land in CPU0 by default. Signed-off-by: Anup Patel

[PATCH v2 2/7] mailbox: bcm-flexrm-mailbox: Add debugfs support

2017-07-21 Thread Anup Patel
This patch adds debugfs support to Broadcom FlexRM driver so that we can see FlexRM ring state when any issue happens. Signed-off-by: Anup Patel Reviewed-by: Vikram Prakash Reviewed-by: Scott Branden ---

[PATCH v2 0/7] FlexRM driver improvements

2017-07-21 Thread Anup Patel
This patchset does various improvments to Broadcom FlexRM mailbox controller driver and also adds FlexRM DT nodes for Stingray SOC. The patches are based on Linux-4.13-rc1 and can also be found at flexrm-imp-v2 branch of https://github.com/Broadcom/arm64-linux.git Changes since v1: - Add one

Re: [PATCH v2] powerpc/mm: Implemented default_hugepagesz verification for powerpc

2017-07-21 Thread Aneesh Kumar K.V
Victor Aoqui writes: > Implemented default hugepage size verification (default_hugepagesz=) > in order to allow allocation of defined number of pages (hugepages=) > only for supported hugepage sizes. > > Signed-off-by: Victor Aoqui > --- >

Re: [PATCH v2 04/10] mmc: sunxi: Support controllers that can use both old and new timings

2017-07-21 Thread Maxime Ripard
On Thu, Jul 20, 2017 at 11:44:46AM +0800, Chen-Yu Tsai wrote: > On the SoCs that introduced the new timing mode for MMC controllers, > both the old (where the clock delays are set in the CCU) and new > (where the clock delays are set in the MMC controller) timing modes > are available, and we have

Re: [PATCH v2 02/10] clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching

2017-07-21 Thread Maxime Ripard
On Thu, Jul 20, 2017 at 11:44:44AM +0800, Chen-Yu Tsai wrote: > +/* Special class of M-P clock that supports MMC timing modes */ > + > +#define SUNXI_CCU_MP_MMC_WITH_MUX_GATE(_struct, _name, _parents, _reg, > \ > +_mshift, _mwidth,\ > +

Re: [PATCH v2 2/4] dmaengine: Add STM32 MDMA driver

2017-07-21 Thread Vinod Koul
On Thu, Jul 06, 2017 at 02:25:39PM +0200, Pierre-Yves MORDRET wrote: > +config STM32_MDMA > + bool "STMicroelectronics STM32 master dma support" > + depends on ARCH_STM32 || COMPILE_TEST ^^^ why multiple spaces > +static enum dma_slave_buswidth

Re: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread Will Deacon
On Fri, Jul 21, 2017 at 07:38:42AM +, Zhou Qiao(周侨) wrote: > Could you please help to take a look and give some comments? Thanks in > advance. I've queued this on the arm64 for-next/fixes/core branch. Will

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-21 Thread Miroslav Benes
On Thu, 20 Jul 2017, Joe Lawrence wrote: > On 07/20/2017 10:45 AM, Miroslav Benes wrote: > > > > + * > > + * Note: allocates @new_size space for shadow variable data and copies > > + * @new_size bytes from @new_data into the shadow varaible's own > > @new_data > > + * space.

[PATCH v8 10/13] iommu/amd: Allocate memory below 4G for dev table if translation pre-enabled

2017-07-21 Thread Baoquan He
AMD pointed out it's unsafe to update the device-table while iommu is enabled. It turns out that device-table pointer update is split up into two 32bit writes in the IOMMU hardware. So updating it while the IOMMU is enabled could have some nasty side effects. The only way to work around this is

[PATCH v8 11/13] iommu/amd: Don't copy GCR3 table root pointer

2017-07-21 Thread Baoquan He
When iommu is pre_enabled in kdump kernel, if a device is set up with guest translations (DTE.GV=1), then don't copy GCR3 table root pointer but move the device over to an empty guest-cr3 table and handle the faults in the PPR log (which answer them with INVALID). After all these PPR faults are

[PATCH v8 13/13] iommu/amd: Disable iommu only if amd_iommu=off is specified

2017-07-21 Thread Baoquan He
From: root It's ok to disable iommu in normal kernel. While there's no need to disable it in kdump kernel after the on-flight dma issue has heen fixed. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 3 ++- 1 file changed,

[PATCH v8 08/13] iommu: Add is_attach_deferred call-back to iommu-ops

2017-07-21 Thread Baoquan He
This new call-back will be used to check if the domain attach need be deferred for now. If yes, the domain attach/detach will return directly. Signed-off-by: Baoquan He --- drivers/iommu/iommu.c | 8 include/linux/iommu.h | 1 + 2 files changed, 9 insertions(+) diff

[PATCH v8 12/13] iommu/amd: Clear out the GV flag when handle deferred domain attach

2017-07-21 Thread Baoquan He
When handle deferred domain attach, we need check if the domain is v2. If not, should try to clear out the GV flag which could be copied from the old device table entry. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 18 +- 1 file changed, 17

Re: [PATCH] mm/hugetlb: __get_user_pages ignores certain follow_hugetlb_page errors

2017-07-21 Thread Punit Agrawal
Hi Daniel, daniel.m.jor...@oracle.com writes: > Commit 9a291a7c9428 ("mm/hugetlb: report -EHWPOISON not -EFAULT when > FOLL_HWPOISON is specified") causes __get_user_pages to ignore certain > errors from follow_hugetlb_page. After such error, __get_user_pages > subsequently calls faultin_page

[tip:perf/urgent] perf/core: Fix locking for children siblings group read

2017-07-21 Thread tip-bot for Jiri Olsa
Commit-ID: 2aeb1883547626d82c597cce2c99f0b9c62e2425 Gitweb: http://git.kernel.org/tip/2aeb1883547626d82c597cce2c99f0b9c62e2425 Author: Jiri Olsa AuthorDate: Thu, 20 Jul 2017 16:14:55 +0200 Committer: Ingo Molnar CommitDate: Fri, 21 Jul 2017 09:54:23

Re: [BUG] lockdep splat with cpu_hotplug_lock

2017-07-21 Thread Thomas Gleixner
On Thu, 20 Jul 2017, James Bottomley wrote: > [redirecting to linux-scsi] > On Thu, 2017-07-20 at 19:35 -0400, Steven Rostedt wrote: > > My tests triggered this splat on 4.13-rc1: > > > > Loading iSCSI transport class v2.0-870. > > QLogic NetXtreme II iSCSI Driver bnx2i v2.7.10.1 (Jul 16, 2014) >

[tip:perf/urgent] perf/x86/intel: Add proper condition to run sched_task callbacks

2017-07-21 Thread tip-bot for Jiri Olsa
Commit-ID: df6c3db8d30fb1699ccbc403196b86324f4257af Gitweb: http://git.kernel.org/tip/df6c3db8d30fb1699ccbc403196b86324f4257af Author: Jiri Olsa AuthorDate: Wed, 19 Jul 2017 09:52:47 +0200 Committer: Ingo Molnar CommitDate: Fri, 21 Jul 2017 09:58:39

[tip:x86/urgent] x86/platform/uv/BAU: Disable BAU on single hub configurations

2017-07-21 Thread tip-bot for Andrew Banman
Commit-ID: 2fe9a5c6ade4dfb53ff1c137cca3828d9d1d0948 Gitweb: http://git.kernel.org/tip/2fe9a5c6ade4dfb53ff1c137cca3828d9d1d0948 Author: Andrew Banman AuthorDate: Thu, 20 Jul 2017 17:05:51 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Jul 2017

Re: [PATCH v2 2/4] dmaengine: Add STM32 MDMA driver

2017-07-21 Thread Vinod Koul
On Fri, Jul 21, 2017 at 09:30:00AM +, Pierre Yves MORDRET wrote: > >> +static enum dma_slave_buswidth stm32_mdma_get_max_width(u32 buf_len, u32 > >> tlen) > >> +{ > >> + enum dma_slave_buswidth max_width = DMA_SLAVE_BUSWIDTH_8_BYTES; > >> + > >> + while (((buf_len % max_width) || (tlen <

Re: Linux 4.12.3

2017-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 7c81bbba2943..f5bbee480317 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 12 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index

Linux 4.12.3

2017-07-21 Thread Greg KH
I'm announcing the release of the 4.12.3 kernel. All users of the 4.12 kernel series must upgrade. The updated 4.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH V2 2/3] iommu/rockchip: add multi irqs support

2017-07-21 Thread xxm
Hi Heiko, On 07/21/2017 03:07 PM, Heiko Stuebner wrote: Am Freitag, 21. Juli 2017, 14:27:09 CEST schrieb Simon Xue: From: Simon RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon --- changes since V1: - use

Re: [PATCH v3 22/23] camss: Use optimal clock frequency rates

2017-07-21 Thread Todor Tomov
Hello, On 19.07.2017 18:59, kbuild test robot wrote: > Hi Todor, > > [auto build test ERROR on linuxtv-media/master] > [also build test ERROR on v4.13-rc1] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: >

Re: [PATCH] dmaengine: ioatdma: Fix error handling path in 'ioat_dma_self_test()'

2017-07-21 Thread Vinod Koul
On Thu, Jul 20, 2017 at 09:56:45AM -0700, Dave Jiang wrote: > > > On 07/20/2017 12:24 AM, walter harms wrote: > > > > > > Am 20.07.2017 00:16, schrieb Christophe JAILLET: > >> If the 'memcmp' fails, free allocated resources as done in all other > >> error handling paths. > >> > >>

Re: [PATCH 03/12] ARM: normalize clk API for older platforms

2017-07-21 Thread Sekhar Nori
Hi Arnd, On Thursday 20 July 2017 09:20 PM, Arnd Bergmann wrote: > Six ARM platforms still provide their own variant of the clk API > rather than using the generic COMMON_CLK API. This generally works, > but it causes some link errors with drivers using the clk_set_rate, > clk_get_parent,

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-21 Thread Petr Mladek
On Thu 2017-07-20 11:48:41, Joe Lawrence wrote: > On 07/20/2017 10:45 AM, Miroslav Benes wrote: > > > > + * > > + * Note: allocates @new_size space for shadow variable data and copies > > + * @new_size bytes from @new_data into the shadow varaible's own > > @new_data > > + *

Re: [RFC PATCH v12 3/4] Linux Random Number Generator

2017-07-21 Thread Stephan Müller
Am Freitag, 21. Juli 2017, 05:08:47 CEST schrieb Theodore Ts'o: Hi Theodore, > On Thu, Jul 20, 2017 at 09:00:02PM +0200, Stephan Müller wrote: > > I concur with your rationale where de-facto the correlation is effect is > > diminished and eliminated with the fast_pool and the minimal entropy > >

Re: [PATCH] HID: logitech-hidpp: fix spelling mistake, "feeback" -> "feedback"

2017-07-21 Thread Benjamin Tissoires
On Jul 14 2017 or thereabouts, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in hid_info message and add line break > to split an overly long line to clean up a checkpatch warning. > > Signed-off-by: Colin Ian King

[RFC PATCH 0/4] serial: uartps: Dynamic allocation

2017-07-21 Thread Michal Simek
Hi Alan, this is the initial version before next step which is move uart_register_driver to probe function. I was able to get rid of static array with uart_port structures. It was wired with console which is also fixed. And the next step is the most complicated one handle .nr in uart_driver

[tip:x86/mm] x86/mm: Prepare to expose larger address space to userspace

2017-07-21 Thread tip-bot for Kirill A. Shutemov
Commit-ID: b569bab78d8df157a6f91070af827753e4d1787c Gitweb: http://git.kernel.org/tip/b569bab78d8df157a6f91070af827753e4d1787c Author: Kirill A. Shutemov AuthorDate: Mon, 17 Jul 2017 01:59:52 +0300 Committer: Ingo Molnar CommitDate:

[tip:x86/mm] x86: Enable 5-level paging support via CONFIG_X86_5LEVEL=y

2017-07-21 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 77ef56e4f0fbb350d93289aa025c7d605af012d4 Gitweb: http://git.kernel.org/tip/77ef56e4f0fbb350d93289aa025c7d605af012d4 Author: Kirill A. Shutemov AuthorDate: Mon, 17 Jul 2017 01:59:54 +0300 Committer: Ingo Molnar CommitDate:

[tip:x86/mm] x86/mm: Allow userspace have mappings above 47-bit

2017-07-21 Thread tip-bot for Kirill A. Shutemov
Commit-ID: ee00f4a32a76ef631394f31d5b6028d50462b357 Gitweb: http://git.kernel.org/tip/ee00f4a32a76ef631394f31d5b6028d50462b357 Author: Kirill A. Shutemov AuthorDate: Mon, 17 Jul 2017 01:59:53 +0300 Committer: Ingo Molnar CommitDate:

[PATCH 0/2] Add RK3128 pinctrl support

2017-07-21 Thread David Wu
The RK3128 pinctrl is similar as the RK2928. David Wu (2): pinctrl: rockchip: Use common interface for recalced iomux pinctrl: rockchip: Add rk3128 pinctrl support .../bindings/pinctrl/rockchip,pinctrl.txt | 1 + drivers/pinctrl/pinctrl-rockchip.c | 218

[PATCH 1/2] pinctrl: rockchip: Use common interface for recalced iomux

2017-07-21 Thread David Wu
The other Socs also need the feature of recalced iomux, so make it as a common interface like iomux route feature. Signed-off-by: David Wu --- drivers/pinctrl/pinctrl-rockchip.c | 89 +- 1 file changed, 50 insertions(+), 39

Re: [PATCH] Fix Alps Touchpad two finger scroll does not work on right side

2017-07-21 Thread Takashi Iwai
On Fri, 21 Jul 2017 02:27:30 +0200, Masaki Ota wrote: > > From: Masaki Ota > > Fixed the issue that two finger scroll does not work correctly > on V8 protocol. The cause is that V8 protocol X-coordinate decode > is wrong at SS4 PLUS device. I added SS4 PLUS X decode

Re: [RFC v6 27/62] powerpc: helper to validate key-access permissions of a pte

2017-07-21 Thread Aneesh Kumar K.V
Ram Pai writes: > On Thu, Jul 20, 2017 at 12:12:47PM +0530, Aneesh Kumar K.V wrote: >> Ram Pai writes: >> >> > helper function that checks if the read/write/execute is allowed >> > on the pte. >> > >> > Signed-off-by: Ram Pai >> >

Re: Linux 4.9.39

2017-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index ad0c045d36cd..a872ece51ee5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 38 +SUBLEVEL = 39 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index

Re: Linux 4.4.78

2017-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index bf49a61d02e2..ac77ae8ee0b1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 77 +SUBLEVEL = 78 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-21 Thread Chen-Yu Tsai
On Fri, Jul 21, 2017 at 7:07 AM, Icenowy Zheng wrote: > Banana Pi M64 board uses an AXP803 PMIC. > > Enable the PMIC and its regulators. > > As we have now proper regulators support, missing or dummy regulators > are changed to the correct ones. > > Signed-off-by: Icenowy Zheng

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-21 Thread Chen-Yu Tsai
On Fri, Jul 21, 2017 at 3:44 PM, Icenowy Zheng wrote: > > > 于 2017年7月21日 GMT+08:00 下午3:42:07, Chen-Yu Tsai 写到: >>On Fri, Jul 21, 2017 at 7:07 AM, Icenowy Zheng wrote: >>> Banana Pi M64 board uses an AXP803 PMIC. >>> >>> Enable the PMIC and its

Re: [PATCH v6 0/2] x86: Implement fast refcount overflow protection

2017-07-21 Thread Ingo Molnar
* Kees Cook wrote: > On Thu, Jul 20, 2017 at 10:15 AM, Kees Cook wrote: > > On Thu, Jul 20, 2017 at 2:11 AM, Ingo Molnar wrote: > >> Could you please also create a tabulated quick-comparison of the three > >> variants, > >> of

Re: [PATCH v3 00/23] Qualcomm 8x16 Camera Subsystem driver

2017-07-21 Thread Todor Tomov
Hello Sakari, Thank you for the review! On 20.07.2017 18:25, Sakari Ailus wrote: > Hi Todor, > > On Mon, Jul 17, 2017 at 01:33:26PM +0300, Todor Tomov wrote: >> This patchset adds basic support for the Qualcomm Camera Subsystem found >> on Qualcomm MSM8916 and APQ8016 processors. >> >> The

[PATCH] bluetooth: document config options

2017-07-21 Thread Pavel Machek
Kernel config options should include useful help text; I had to look up the terms on wikipedia. Signed-off-by: Pavel Machek diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index 68f951b..133c8a6 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig @@ -45,6

Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains

2017-07-21 Thread Ulf Hansson
[...] > >> What happens when a power domain gets powered off and then on. Is the >> performance state restored? Please elaborate a bit on this. > > Can this happen while the genpd is still in use? If not then we > wouldn't have a problem here as the users of it would have revoked > their

[PATCH v2] xtensa: remove wrapper header for asm/device.h

2017-07-21 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Acked-by: Max Filippov Signed-off-by: Tobias Klauser --- v2: rebased after Kbuild update, added

[PATCH v8 06/13] iommu/amd: copy old trans table from old kernel

2017-07-21 Thread Baoquan He
Here several things need be done: - If iommu is pre-enabled in a normal kernel, just disable it and print warning. - If failed to copy dev table of old kernel, continue to proceed as it does in normal kernel. - Disable and Re-enable event/cmd buffer, install the copied DTE table to reg,

[PATCH v8 05/13] iommu/amd: Add function copy_dev_tables()

2017-07-21 Thread Baoquan He
Add function copy_dev_tables to copy the old DEV table entries of the panicked kernel to the new allocated DEV table. Since all iommus share the same DTE table the copy only need be done one time. Besides, we also need to: - Check whether all IOMMUs actually use the same device table with the

[PATCH V2 2/4] net-next: dsa: add 802.3 protocol offset to struct dsa_device_ops

2017-07-21 Thread John Crispin
Adding these 2 new fields allows a DSA device to indicate the offsets of the 802.3 header caused by the insertion of the switches tag. Signed-off-by: John Crispin --- include/net/dsa.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/net/dsa.h

[PATCH V2 3/4] net-next: dsa: fix flow dissection

2017-07-21 Thread John Crispin
RPS and probably other kernel features are currently broken on some if not all DSA devices. The root cause of this is that skb_hash will call the flow_dissector. At this point the skb still contains the magic switch header and the skb->protocol field is not set up to the correct 802.3 value yet.

[PATCH v8 01/13] iommu/amd: Detect pre enabled translation

2017-07-21 Thread Baoquan He
Add functions to check whether translation is already enabled in IOMMU. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 24 drivers/iommu/amd_iommu_proto.h | 1 + drivers/iommu/amd_iommu_types.h | 4 3 files changed, 29

[PATCH v8 02/13] iommu/amd: add several helper functions

2017-07-21 Thread Baoquan He
Move single iommu enabling codes into a wrapper function early_enable_iommu(). This can make later kdump change easier. And also add iommu_disable_command_buffer and iommu_disable_event_buffer for later usage. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 42

Re: [PATCH 00/15] HMM (Heterogeneous Memory Management) v24

2017-07-21 Thread Yisheng Xie
Hi Jerome, On 2017/7/21 1:18, Jerome Glisse wrote: > On Wed, Jul 19, 2017 at 07:48:08PM +0800, Yisheng Xie wrote: >> Hi Jérôme >> >> On 2017/6/29 2:00, Jérôme Glisse wrote: >>> >>> Patchset is on top of git://git.cmpxchg.org/linux-mmotm.git so i >>> test same kernel as kbuild system, git branch:

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-21 Thread Andy Shevchenko
On Fri, 2017-07-21 at 09:59 +0800, Ye Xiaolong wrote: > Hi, > > On 07/19, Linus Torvalds wrote: > > Hmm. I wonder why the kernel test robot ends up having that annoying > > line doubling for the dmesg. > > > > Hmm, this line doubling issue should be caused by we set both >

Re: [PATCH 1/2] pinctrl: rockchip: Use common interface for recalced iomux

2017-07-21 Thread Heiko Stuebner
Am Freitag, 21. Juli 2017, 14:27:14 CEST schrieb David Wu: > The other Socs also need the feature of recalced iomux, so > make it as a common interface like iomux route feature. > > Signed-off-by: David Wu > --- > drivers/pinctrl/pinctrl-rockchip.c | 89 >

Re: [PATCH v3 1/3] staging: lustre: constify attribute_group structures.

2017-07-21 Thread Dan Carpenter
On Fri, Jul 21, 2017 at 11:29:51AM +0530, Arvind Yadav wrote: > Changes in v3: > typo error in cover-latter. The cover letter gets discarded so no one cares. regards, dan carpenter

[PATCH v3 2/3] staging: lustre: ldlm: constify attribute_group structures.

2017-07-21 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: patch was sent to

  1   2   3   4   5   6   7   8   9   10   >