Re: [PATCH 4.13 00/53] 4.13.8-stable review

2017-10-16 Thread Greg Kroah-Hartman
On Mon, Oct 16, 2017 at 05:41:39PM -0600, Shuah Khan wrote: > On 10/16/2017 10:15 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.8 release. > > There are 53 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH] ahci: Add support for Cavium's fifth generation SATA controller

2017-10-16 Thread Christoph Hellwig
On Tue, Oct 10, 2017 at 10:37:51PM -0700, Radha Mohan Chintakuntla wrote: > From: Radha Mohan Chintakuntla > > This patch adds support for Cavium's fifth generation SATA controller. > It is an on-chip controller and complies with AHCI 1.3.1. As the > controller uses 64-bit addresses it cannot use

Re: [PATCH 4/9] drm/panel: simple: add support for overriding the pixel clock polarity

2017-10-16 Thread Lothar Waßmann
Hi, On Mon, 16 Oct 2017 17:13:29 -0500 Rob Herring wrote: > On Wed, Oct 11, 2017 at 6:23 AM, Lothar Waßmann > wrote: > > The Ka-Ro electronics MB7 baseboard has an on-board LCD->LVDS > > converter that requires a fixed pixelclk polarity, no matter what the > > panel's display_mode specifies. Add

Re: [patch] mm, compaction: properly initialize alloc_flags in compact_control

2017-10-16 Thread Vlastimil Babka
On 10/17/2017 12:12 AM, Andrew Morton wrote: > On Mon, 16 Oct 2017 15:03:37 -0700 (PDT) David Rientjes > wrote: > >> >> compaction_suitable() requires a useful cc->alloc_flags, otherwise the >> results of compact_zone() can be indeterminate. Kcompactd currently >> checks compaction_suitable() i

Re: [PATCH] cgroup: reorder flexible array members of struct cgroup_root

2017-10-16 Thread Nick Desaulniers
On Mon, Oct 16, 2017 at 11:40 PM, Nick Desaulniers wrote: > On Mon, Oct 16, 2017 at 11:33:21PM -0700, Nick Desaulniers wrote: >> When compiling arch/x86/boot/compressed/eboot.c with HOSTCC=clang, the > > Actually, not sure this is because HOSTCC was specifically clang, I > think that could be rewo

Re: [PATCH] cgroup: reorder flexible array members of struct cgroup_root

2017-10-16 Thread Nick Desaulniers
On Mon, Oct 16, 2017 at 11:33:21PM -0700, Nick Desaulniers wrote: > When compiling arch/x86/boot/compressed/eboot.c with HOSTCC=clang, the Actually, not sure this is because HOSTCC was specifically clang, I think that could be reworded to `When compiling ... with Clang, the ...`.

Re: [PATCH v8 08/15] platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test WARNING on platform-drivers-x86/for-next] [also build test WARNING on v4.14-rc5 next-20171016] [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/Mario-Limonciello

Re: [PATCH V7 4/6] blk-mq: introduce .get_budget and .put_budget in blk_mq_ops

2017-10-16 Thread Hannes Reinecke
On 10/17/2017 03:29 AM, Ming Lei wrote: > On Mon, Oct 16, 2017 at 01:30:09PM +0200, Hannes Reinecke wrote: >> On 10/13/2017 07:29 PM, Ming Lei wrote: >>> On Fri, Oct 13, 2017 at 05:08:52PM +, Bart Van Assche wrote: On Sat, 2017-10-14 at 00:45 +0800, Ming Lei wrote: > On Fri, Oct 13, 20

Re: [PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-16 Thread Joe Perches
On Tue, 2017-10-17 at 11:13 +0530, Faiz Abbas wrote: > Enable support for printing the LTSSM link state for debugging PCI > when link is down. [] > diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c > index 34427a6..7b150b0 100644 > --- a/drivers/pci/dwc/pci-dra7xx.c > +++ b/d

[PATCH] cgroup: reorder flexible array members of struct cgroup_root

2017-10-16 Thread Nick Desaulniers
When compiling arch/x86/boot/compressed/eboot.c with HOSTCC=clang, the following warning is observed: ./include/linux/cgroup-defs.h:391:16: warning: field 'cgrp' with variable sized type 'struct cgroup' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]

Re: [PATCH v2 5/5] mmc: dw_mmc: Cleanup the DTO timer like the CTO one

2017-10-16 Thread Shawn Lin
On 2017/10/17 13:05, Doug Anderson wrote: Hi, On Mon, Oct 16, 2017 at 6:17 PM, Shawn Lin wrote: Hi Doug On 2017/10/13 4:11, Douglas Anderson wrote: The recent CTO timer introduced in commit 03de19212ea3 ("mmc: dw_mmc: introduce timer for broken command transfer over scheme") was causing

Re: [Patch v6 1/7] slimbus: Device management on SLIMbus

2017-10-16 Thread Bjorn Andersson
On Fri 06 Oct 08:51 PDT 2017, srinivas.kandaga...@linaro.org wrote: [..] > diff --git a/drivers/slimbus/slim-core.c b/drivers/slimbus/slim-core.c [..] > +/** > + * Report callbacks(device_up, device_down) are implemented by > slimbus-devices. > + * The calls are scheduled into a workqueue to avoid

[PATCH V1 1/1] serial: 8250_fintek: Fix finding base_port with activated SuperIO

2017-10-16 Thread Ji-Ze Hong (Peter Hong)
The SuperIO will be configured at boot time by BIOS, but some BIOS will not deactivate the SuperIO when the end of configuration. It'll lead to mismatch for pdata->base_port in probe_setup_port(). So we'll deactivate all SuperIO before activate special base_port in fintek_8250_enter_key(). Tested

[PATCH] perf vendor events arm64: Add hip08 implementation defined PMU core events

2017-10-16 Thread Shaokun Zhang
This is a short list of useful implementation defined PMU events of hip08, other supported events are not listed in this JSON file. This patch is dependent on Cavium's patch-v9 (Add support for ThunderX2 pmu events using json files), Link: https://www.spinics.net/lists/arm-kernel/msg611895.html S

Re: [RFC PATCH v2 6/8] cpuidle: make fast idle threshold tunable

2017-10-16 Thread Li, Aubrey
On 2017/10/17 8:01, Rafael J. Wysocki wrote: > On Monday, October 16, 2017 8:00:45 AM CEST Li, Aubrey wrote: >> On 2017/10/14 8:59, Rafael J. Wysocki wrote: >>> On Saturday, September 30, 2017 9:20:32 AM CEST Aubrey Li wrote: Add a knob to make fast idle threshold tunable Signed-off-

Re: [RFC PATCH v2 5/8] timers: keep sleep length updated as needed

2017-10-16 Thread Li, Aubrey
On 2017/10/17 7:58, Rafael J. Wysocki wrote: > On Monday, October 16, 2017 8:46:41 AM CEST Li, Aubrey wrote: >> On 2017/10/14 8:56, Rafael J. Wysocki wrote: >>> On Saturday, September 30, 2017 9:20:31 AM CEST Aubrey Li wrote: sleep length indicates how long we'll be idle. Currently, it's updat

Re: [lkp-robot] [x86/mm] c4c3c3c2d0: will-it-scale.per_process_ops -61.0% regression

2017-10-16 Thread Ye Xiaolong
Hi, Andy On 10/16, Andy Lutomirski wrote: >On Mon, Oct 16, 2017 at 3:15 AM, Borislav Petkov wrote: >> On Mon, Oct 16, 2017 at 10:39:17AM +0800, kernel test robot wrote: >>> >>> Greeting, >>> >>> FYI, we noticed a -61.0% regression of will-it-scale.per_process_ops due to >>> commit: >>> >>> >>> c

[PATCH v2 net-next] net: hns3: Add mqprio hardware offload support in hns3 driver

2017-10-16 Thread Yunsheng Lin
When using tc qdisc, dcb_ops->setup_tc is used to tell hclge_dcb module to do the tm related setup. Only TC_MQPRIO_MODE_CHANNEL offload mode is supported. Signed-off-by: Yunsheng Lin --- V2: 1. Add HCLGE_FLAG_MQPRIO_ENABLE to indicate offlaoding the mqprio. 2. Change to su

【BUG】The kernel start fail when enable CONFIG_ARM64_LSE_ATOMICS and KCOV_INSTRUMENT_ALL

2017-10-16 Thread Bixuan Cui
Hi, I try to start the kernel(v4.14.0-rc4) by qemu while enable CONFIG_ARM64_LSE_ATOMICS and KCOV_INSTRUMENT_ALL(use arch/arm64/configs/defconfig) at the same time. Then it hang: qemu-system-aarch64 -kernel Image -m 2048 -smp 8 -initrd qemu-le.rootfs -cpu cortex-a57 -nographic -machine virt,kern

[PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-16 Thread Faiz Abbas
Enable support for printing the LTSSM link state for debugging PCI when link is down. Signed-off-by: Faiz Abbas --- drivers/pci/dwc/pci-dra7xx.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c index 34427a6..7

Re: [Xen-devel] [PATCH 11/13] x86/paravirt: Add paravirt alternatives infrastructure

2017-10-16 Thread Josh Poimboeuf
On Mon, Oct 16, 2017 at 02:18:48PM -0400, Boris Ostrovsky wrote: > On 10/12/2017 03:53 PM, Boris Ostrovsky wrote: > > On 10/12/2017 03:27 PM, Andrew Cooper wrote: > >> On 12/10/17 20:11, Boris Ostrovsky wrote: > >>> There is also another problem: > >>> > >>> [1.312425] general protection fault:

Re: [GIT PULL] vfs i_version fix for Linus

2017-10-16 Thread Al Viro
On Mon, Oct 16, 2017 at 05:00:20PM -0400, Mimi Zohar wrote: > Hi Al, > > This pull request contains a single patch that allows file systems to > be mounted with i_version.  I would really appreciate your forwarding > this patch to Linus. Applied.

[PATCH v4 0/3] add UniPhier efuse support

2017-10-16 Thread Keiji Hayashibara
This series adds support for eFuse implemented on UniPhier LD20 SoCs. The eFuse device is under soc-glue and this register implements as read only. patch v1 https://lkml.org/lkml/2017/8/31/880 patch v2 https://lkml.org/lkml/2017/10/6/20 patch v3 https://lkml.org/lkml/2017/10/17/35 Changes betwe

[PATCH v4 3/3] arm64: dts: uniphier: add efuse node for LD20

2017-10-16 Thread Keiji Hayashibara
Add efuse node for UniPhier LD20 SoC. This efuse node is included in soc-glue. Signed-off-by: Keiji Hayashibara --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/ar

[PATCH v4 2/3] nvmem: uniphier: add UniPhier eFuse driver

2017-10-16 Thread Keiji Hayashibara
Add eFuse driver for Socionext UniPhier series SoC. Note that eFuse device is under soc-glue and this register implements as read only. Signed-off-by: Keiji Hayashibara --- drivers/nvmem/Kconfig | 11 + drivers/nvmem/Makefile | 2 + drivers/nvmem/uniphier-efuse.c | 97 +

Re: [PATCH v2] printk: hash addresses printed with %p

2017-10-16 Thread Joe Perches
On Tue, 2017-10-17 at 15:52 +1100, Tobin C. Harding wrote: > Currently there are many places in the kernel where addresses are being > printed using an unadorned %p. Kernel pointers should be printed using > %pK allowing some control via the kptr_restrict sysctl. Exposing addresses > gives attacker

Re: [GIT PULL for v4.14-rc6] media fixes

2017-10-16 Thread Mauro Carvalho Chehab
Hi Linus, Em Mon, 16 Oct 2017 20:15:33 -0400 Linus Torvalds escreveu: > On Mon, Oct 16, 2017 at 4:31 PM, Mauro Carvalho Chehab > wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > > media/v4.14-2 > > No such tag. > > Did you forget to push out? The latest

[PATCH v4 1/3] dt-bindings: nvmem: add description for UniPhier eFuse

2017-10-16 Thread Keiji Hayashibara
Add uniphier-efuse dt-bindings documentation. Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/nvmem/uniphier-efuse.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt diff --git a/Documen

Re: [PATCH 0/2] block/SCSI MQ: two RESTART related patches

2017-10-16 Thread Ming Lei
On Tue, Oct 17, 2017 at 01:04:16PM +0800, Ming Lei wrote: > Hi Jens, > > The 1st patch runs idle hctx after dealy in scsi_mq_get_budget(), > so that we can keep same behaviour with before, and it can be > thought as a fix. > > The 2nd patch cleans up RESTART, and removes handling for TAG_SHARED >

kvm_intel fails to load on CPUs running Linux 4.12 or later

2017-10-16 Thread Jason R Begley
I see that this has been discussed before, but I have ran into the same problem recently after trying kernel 4.13.6 and the kvm_intel module would not load. I stumbled across an article from Sat, 5 Aug 2017 21:26:42 with the same issue. Is there any way to fix this? Below is a cpuinfo proce

Re: [PATCH v2 5/5] mmc: dw_mmc: Cleanup the DTO timer like the CTO one

2017-10-16 Thread Doug Anderson
Hi, On Mon, Oct 16, 2017 at 6:17 PM, Shawn Lin wrote: > Hi Doug > > > On 2017/10/13 4:11, Douglas Anderson wrote: >> >> The recent CTO timer introduced in commit 03de19212ea3 ("mmc: dw_mmc: >> introduce timer for broken command transfer over scheme") was causing >> observable problems due to race

[PATCH 2/2] blk-mq: don't handle TAG_SHARED in restart

2017-10-16 Thread Ming Lei
Now restart is used in the following cases, and TAG_SHARED is for SCSI only. 1) .get_budget() returns BLK_STS_RESOURCE - if resource in target/host level isn't satistifed, this SCSI device will be added in shost->starved_list, and the whole queue will be rerun (via SCSI's built-in RESTART) in scsi

[PATCH 0/2] block/SCSI MQ: two RESTART related patches

2017-10-16 Thread Ming Lei
Hi Jens, The 1st patch runs idle hctx after dealy in scsi_mq_get_budget(), so that we can keep same behaviour with before, and it can be thought as a fix. The 2nd patch cleans up RESTART, and removes handling for TAG_SHARED from current blk-mq's RESTART mechanism because SCSI_MQ can covers its re

[PATCH 1/2] SCSI: run idle hctx after delay in scsi_mq_get_budget()

2017-10-16 Thread Ming Lei
If there isn't any outstanding request in this queue, both blk-mq's RESTART and SCSI's builtin RESTART can't work, so we have to deal with this case by running this queue after delay. Fixes: d04b6d97d0a1(scsi: implement .get_budget and .put_budget for blk-mq) Signed-off-by: Ming Lei --- drivers/

Re: [lkp-robot] [x86/mm] c4c3c3c2d0: will-it-scale.per_process_ops -61.0% regression

2017-10-16 Thread Markus Trippelsdorf
On 2017.10.16 at 18:06 -0700, Andy Lutomirski wrote: > On Mon, Oct 16, 2017 at 3:15 AM, Borislav Petkov wrote: > > On Mon, Oct 16, 2017 at 10:39:17AM +0800, kernel test robot wrote: > >> > >> Greeting, > >> > >> FYI, we noticed a -61.0% regression of will-it-scale.per_process_ops due > >> to comm

[PATCH v2] printk: hash addresses printed with %p

2017-10-16 Thread Tobin C. Harding
Currently there are many places in the kernel where addresses are being printed using an unadorned %p. Kernel pointers should be printed using %pK allowing some control via the kptr_restrict sysctl. Exposing addresses gives attackers sensitive information about the kernel layout in memory. We can

[tip:x86/timers 7/8] undefined reference to `tsc_async_resets'

2017-10-16 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers head: 97d21003df3e7504c899b1701546f18ff475966f commit: 6c66350d0a482892793b888b07c1177fc6d4b344 [7/8] x86/tsc: Provide a means to disable TSC ART config: i386-randconfig-x0-10171011 (attached as .config) compiler: gcc

[PATCH v3 0/3] add UniPhier efuse support

2017-10-16 Thread Keiji Hayashibara
This series adds support for eFuse implemented on UniPhier LD20 SoCs. The eFuse device is under soc-glue and this register implements as read only. patch v1 https://lkml.org/lkml/2017/8/31/880 patch v2 https://lkml.org/lkml/2017/10/6/20 Changes between v3 and v2 = 1. Fix

[PATCH v3 1/3] dt-bindings: nvmem: add description for UniPhier eFuse

2017-10-16 Thread Keiji Hayashibara
Add uniphier-efuse dt-bindings documentation. Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/nvmem/uniphier-efuse.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt diff --git a/Documen

[PATCH v3 2/3] nvmem: uniphier: add UniPhier eFuse driver

2017-10-16 Thread Keiji Hayashibara
Add eFuse driver for Socionext UniPhier series SoC. Note that eFuse device is under soc-glue and this register implements as read only. Signed-off-by: Keiji Hayashibara --- drivers/nvmem/Kconfig | 11 + drivers/nvmem/Makefile | 2 + drivers/nvmem/uniphier-efuse.c | 97 +

[PATCH v3 3/3] arm64: dts: uniphier: add efuse node for LD20

2017-10-16 Thread Keiji Hayashibara
Add efuse node for UniPhier LD20 SoC. This efuse node is included in soc-glue. Signed-off-by: Keiji Hayashibara --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/ar

Re: [PATCH 24/25] thermal/drivers/hisi: Add support for hi3660 SoC

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:49PM +0200, Daniel Lezcano wrote: > From: Kevin Wangtao > > This patch adds the support for thermal sensor on the Hi3660 SoC. > Hi3660 tsensor support alarm interrupt and have three configurable > alarm thresholds, it also has a configurable hysteresis interval, > in

Re: [PATCH 22/25] thermal/drivers/hisi: Add support for multi temp threshold

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:47PM +0200, Daniel Lezcano wrote: > From: Kevin Wangtao > > The next patches will provide the support for the hi3660 where the temperature > sensor can have multiple alarm levels. In order to set the scene to support > it, > we have to convert the current code to be

Re: [PATCH 19/25] thermal/drivers/hisi: Put platform code together

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:44PM +0200, Daniel Lezcano wrote: > From: Kevin Wangtao > > Reorganize the code for next patches by moving the functions upper in > the file which will prevent a forward declaration. There is no functional > change here. > CHECK: Please don't use multiple blank li

Re: [PATCH 20/25] thermal/drivers/hisi: Add platform prefix to function name

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:45PM +0200, Daniel Lezcano wrote: > From: Kevin Wangtao > > As the next patches will provide support for the hikey3660's sensor, several > functions with the same purpose but for different platforms will be > introduced. > In order to make a clear distinction betwee

Re: [PATCH 21/25] thermal/drivers/hisi: Prepare to add support for other hisi platforms

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:46PM +0200, Daniel Lezcano wrote: > From: Kevin Wangtao > > For platform compatibility, add the tsensor ops to a thermal data structure. > Each platform has its own probe function to register proper tsensor ops > function to the pointer, platform related resource req

Re: [PATCH V1 2/2] pinctrl: qcom: spmi-gpio: Set is_enabled flag in set_mux()

2017-10-16 Thread Fenglin Wu
On 10/17/2017 6:29 AM, Bjorn Andersson wrote: On Thu 12 Oct 23:15 PDT 2017, fengl...@codeaurora.org wrote: From: Fenglin Wu The initial value of is_enabled flag is read out from hardware in pmic_gpio_populate(), and it will be set in pmic_gpio_config_set() if pinconf is defined. For any GPIOs

Re: [PATCH] bpf: devmap: Check attr->max_entries more carefully

2017-10-16 Thread John Fastabend
On 10/15/2017 03:13 PM, Richard Weinberger wrote: > Am Montag, 16. Oktober 2017, 00:00:20 CEST schrieb Richard Weinberger: >> max_entries is user controlled and used as input for __alloc_percpu(). >> This function expects that the allocation size is a power of two and >> less than PCPU_MIN_UNIT_SIZ

Re: [PATCH 0/7] drm/sun4i: More cleanups

2017-10-16 Thread Chen-Yu Tsai
On Tue, Oct 17, 2017 at 12:23 PM, Chen-Yu Tsai wrote: > Hi, > > Here's another bunch of cleanups for sun4i-drm. Most of these were > found while working on A10/A20 DRM and HDMI support. To be clear, > nothing was broken before these patches. > > Changes since v1: > > - Expanded commit message fo

[PATCH v2 3/7] drm/sun4i: backend: Use drm_fb_cma_get_gem_addr() to get display memory

2017-10-16 Thread Chen-Yu Tsai
Commit 4636ce93d5b2 ("drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr()") adds a new helper, which covers fetching a drm_framebuffer's GEM object and calculating the buffer address for a given plane. This patch uses this helper to replace our own open coded version of the same function. Signed-off

[PATCH v2 6/7] drm/sun4i: hdmi: Document PAD_CTRL1 output invert bits

2017-10-16 Thread Chen-Yu Tsai
While debugging inverted color from the HDMI output on the A10, I found that the lowest 3 bits were set. These were cleared on A20 boards that had normal display output. By manually toggling these bits the mapping of the color components to these bits was found. While these are not used anywhere,

[PATCH v2 4/7] drm/sun4i: backend: Add comment explaining why registers are cleared

2017-10-16 Thread Chen-Yu Tsai
Many of the backend's layer configuration registers have undefined default values. This poses a risk as we use regmap_update_bits in some places, and don't overwrite the whole register. At probe/bind time we explicitly clear all the control registers by writing 0 to them. This patch adds a more de

[PATCH v2 5/7] drm/sun4i: backend: Offset layer buffer address by DRAM starting address

2017-10-16 Thread Chen-Yu Tsai
The display backend, as well as other peripherals that have a DRAM clock gate and access DRAM directly, bypassing the system bus, address the DRAM starting from 0x0, while physical addresses the system uses starts from 0x4000 (or 0x2000 in A80's case). This issue was witnessed on the Cubie

[PATCH 0/7] drm/sun4i: More cleanups

2017-10-16 Thread Chen-Yu Tsai
Hi, Here's another bunch of cleanups for sun4i-drm. Most of these were found while working on A10/A20 DRM and HDMI support. To be clear, nothing was broken before these patches. Changes since v1: - Expanded commit message for patch 5 explaining the details of memory address difference, wra

[PATCH v2 7/7] drm/sun4i: hdmi: Move PAD_CTRL1 setting to mode_set function

2017-10-16 Thread Chen-Yu Tsai
Initially we configured the PAD_CTRL1 register at probe/bind time. However it seems the HDMI controller will modify some of the bits in this register by itself. On the A10 it is particularly annoying as it toggles the output invert bits, which inverts the colors on the display output. The U-boot d

[PATCH v2 1/7] drm/sun4i: don't add components that are already in the queue

2017-10-16 Thread Chen-Yu Tsai
Even though the components framework can handle duplicate entries, the extra entries cause a lot more debug messages to be generated, which would be confusing to developers not familiar with our driver and the framework in general. Instead, we can scan the relatively small queue and check if the c

[PATCH v2 2/7] drm/sun4i: backend: Create regmap after access is possible

2017-10-16 Thread Chen-Yu Tsai
The backend has various clocks and reset controls that need to be enabled and deasserted before register access is possible. Move the creation of the regmap to after the clocks and reset controls have been configured where it makes more sense. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun

Re: [PATCH v2] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-16 Thread Bin Liu
On Mon, Oct 16, 2017 at 11:54:27PM +1100, Jonathan Liu wrote: > On 16 October 2017 at 23:49, Bin Liu wrote: > > On Mon, Oct 16, 2017 at 04:13:51PM +1100, Jonathan Liu wrote: > >> On 10 October 2017 at 14:22, Bin Liu wrote: > >> > On Tue, Oct 10, 2017 at 01:45:25PM +1100, Jonathan Liu wrote: > >>

Re: [PATCH 08/25] thermal/drivers/hisi: Fix configuration register setting

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:33PM +0200, Daniel Lezcano wrote: > The TEMP0_CFG configuration register contains different field to set up the > temperature controller. However in the code, nothing prevents a setup to > overwrite the previous one: eg. writing the hdak value overwrites the sensor > s

[PATCH v2] of: dynamic: fix memory leak related to properties of __of_node_dup

2017-10-16 Thread Lixin Wang
If a node with no properties is dynamically added, then a property is dynamically added to the node, then the property is dynamically removed, the result will be node->properties == NULL and node->deadprops != NULL. Signed-off-by: Lixin Wang --- v1: * Change the description of this patch as sugg

Re: [PATCH v8 09/15] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on v4.14-rc5 next-20171016] [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/Mario-Limonciello/Introduce

Re: [PATCH v8 09/15] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test WARNING on platform-drivers-x86/for-next] [also build test WARNING on v4.14-rc5 next-20171016] [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/Mario-Limonciello

[PATCH] platform/x86: dell-smbios: fix semicolon.cocci warnings

2017-10-16 Thread kbuild test robot
drivers/platform/x86/dell-smbios.c:108:2-3: Unneeded semicolon drivers/platform/x86/dell-smbios.c:87:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 79480699ede0 ("platform/x86: dell-smbios: Introduce dispatcher for SMM calls") C

Re: [PATCH v8 12/15] platform/x86: dell-smbios: Add filtering support

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on v4.14-rc5 next-20171016] [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/Mario-Limonciello/Introduce

Re: [PATCH] scsi: gdth: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: smartpqi: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: aic94xx: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: dc395x: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libiscsi: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: be2iscsi: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi/bnx2i: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libfc: Convert timers to use timer_setup()

2017-10-16 Thread Martin K. Petersen
Kees, > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. This removes > several redundant setup calls in favor of just changing the timer > function dir

[PATCH v2 2/2] KVM: VMX: Fix VPID capability detection

2017-10-16 Thread Wanpeng Li
From: Wanpeng Li In my setup, EPT is not exposed to L1, the VPID capability is exposed and can be observed by vmxcap tool in L1: INVVPID supportedyes Individual-address INVVPID yes Single-context INVVPID yes All-context INVVPID

[PATCH v2 1/2] KVM: VMX: Don't advertise EPT switching if EPT itself is not exposed

2017-10-16 Thread Wanpeng Li
From: Wanpeng Li I can use vmxcap tool to observe "EPTP Switching yes" even if EPT is not exposed to L1. EPT switching is advertised unconditionally since it is emulated, however, it can be treated as an extended feature for EPT and it should not be advertised if EPT itself is not exposed.

[tip:x86/timers 7/8] tsc.c:undefined reference to `tsc_async_resets'

2017-10-16 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers head: 97d21003df3e7504c899b1701546f18ff475966f commit: 6c66350d0a482892793b888b07c1177fc6d4b344 [7/8] x86/tsc: Provide a means to disable TSC ART config: i386-randconfig-x0-10170810 (attached as .config) compiler: gcc

Re: [PATCH v8 14/15] platform/x86: wmi: create userspace interface for drivers

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test WARNING on platform-drivers-x86/for-next] [also build test WARNING on next-20171016] [cannot apply to v4.14-rc5] [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/Mario

Re: [PATCH 02/25] thermal/drivers/hisi: Remove the multiple sensors support

2017-10-16 Thread Eduardo Valentin
On Tue, Oct 10, 2017 at 08:02:27PM +0200, Daniel Lezcano wrote: > By essence, the tsensor does not really support multiple sensor at the same > time. It allows to set a sensor and use it to get the temperature, another > sensor could be switched but with a delay of 3-5ms. It is difficult to read >

Re: [PATCH v8 09/15] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-16 Thread kbuild test robot
Hi Mario, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on v4.14-rc5 next-20171016] [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/Mario-Limonciello/Introduce

Re: [PATCH] powerpc/watchdog: Convert timers to use timer_setup()

2017-10-16 Thread Michael Ellerman
Kees Cook writes: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc:

Re: [linux-sunxi] Re: [PATCH 5/7] drm/sun4i: backend: Offset layer buffer address by DRAM starting address

2017-10-16 Thread Chen-Yu Tsai
On Tue, Oct 17, 2017 at 4:15 AM, Maxime Ripard wrote: > On Mon, Oct 16, 2017 at 04:20:32PM +0800, Chen-Yu Tsai wrote: >> > On Sat, Oct 14, 2017 at 12:02:50PM +0800, Chen-Yu Tsai wrote: >> >> The display backend, as well as other peripherals that have a DRAM >> >> clock gate and access DRAM directl

Re: [PATCH] scsi: qedi: Delete redundant variables

2017-10-16 Thread Martin K. Petersen
Christos, > Remove redundant variables in quedi_fw.c that are set but not used. Applied to 4.15/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 2/4] rtc: mediatek: add driver for RTC on MT7622 SoC

2017-10-16 Thread Sean Wang
On Mon, 2017-10-16 at 16:17 +0800, Sean Wang wrote: > Hi Alexandre, > > Thanks for your valuable suggestions on the driver. > > I added comments inline and will have following-ups in the next version > > Sean > > On Thu, 2017-10-12 at 23:20 +0200, Alexandre Belloni wrote: > > Hi, > > > >

Re: [PATCH] csi: hpsa: Fix configured_logical_drive_count·check

2017-10-16 Thread Martin K. Petersen
Christos, > Check whether configured_logical_drive_count is less than > 255. Previous check was always evaluating to true as this variable is > defined as u8. Applied to 4.14/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] KVM: VMX: Don't advertise EPT switching if EPT itself is not exposed

2017-10-16 Thread Wanpeng Li
2017-10-17 1:16 GMT+08:00 Jim Mattson : > Does it still make sense to advertise "Enable VM Functions" in the > secondary processor-based VM-execution controls if we don't actually > support any VM Functions? Will do in v2. Thanks for your review. Regards, Wanpeng Li > > On Sat, Oct 14, 2017 at 7

[PATCH 2/2] mm/mmu_notifier: avoid call to invalidate_range() in range_end()

2017-10-16 Thread jglisse
From: Jérôme Glisse This is an optimization patch that only affect mmu_notifier users which rely on the invalidate_range() callback. This patch avoids calling that callback twice in a row from inside __mmu_notifier_invalidate_range_end Existing pattern (before this patch): mmu_notifier_inval

[PATCH 1/2] mm/mmu_notifier: avoid double notification when it is useless v2

2017-10-16 Thread jglisse
From: Jérôme Glisse This patch only affects users of mmu_notifier->invalidate_range callback which are device drivers related to ATS/PASID, CAPI, IOMMUv2, SVM ... and it is an optimization for those users. Everyone else is unaffected by it. When clearing a pte/pmd we are given a choice to notify

[PATCH 0/2] Optimize mmu_notifier->invalidate_range callback

2017-10-16 Thread jglisse
From: Jérôme Glisse (Andrew you already have v1 in your queue of patch 1, patch 2 is new, i think you can drop it patch 1 v1 for v2, v2 is bit more conservative and i fixed typos) All this only affect user of invalidate_range callback (at this time CAPI arch/powerpc/platforms/powernv/npu-dma.c

Re: [lkp-robot] [fs] 91f9943e1c: aim7.jobs-per-min -26.6% regression

2017-10-16 Thread Ye Xiaolong
On 10/16, Christoph Hellwig wrote: >The only change for the non-nowait case is that we now do a trylock before >locking i_rwsem. In the past that was the more optimal pattern. Can you >test the patch below if that's not the case anymore? We have a few more >instances like that which might also w

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Michael Lyle
On 10/16/2017 05:01 PM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kent Overstreet > Cc: Shaohua Li > Cc: Alasdair Ker

Re: [bug report & help] arm64: ltp testcase "migrate_pages01" failed

2017-10-16 Thread Tan Xiaojun
Hi all, I'm not sure if this is the problem on arm64 numa. What do you think ? By the way, this testcase can be successful in any case on x86. Thanks. Xiaojun. On 2017/10/16 19:42, Tan Xiaojun wrote: > Hi all, > > I test ltp in Hisilicon D05 board and get a failed result about the testcase > "

Re: [PATCH] powerpc/watchdog: Convert timers to use timer_setup()

2017-10-16 Thread Nicholas Piggin
On Mon, 16 Oct 2017 16:47:10 -0700 Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Benjamin Herrenschmidt > Cc: Paul Macke

Re: [PATCH] scsi: aic7xxx: make a couple of functions static

2017-10-16 Thread Martin K. Petersen
Colin, > Functions ahc_devlimited_syncrate and ahc_linux_initialize_scsi_bus > are declared static in their prototypes but are missing in their > definitions, so add the missing static. Applied to 4.15/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: nsp32: fix logic bug in error handling

2017-10-16 Thread Martin K. Petersen
Masanori, >> gcc-8 points out a logic error that has existed since the start >> of the git history: >> >> drivers/scsi/nsp32.c: In function 'nsp32_selection_autoscsi': >> drivers/scsi/nsp32.c:607:27: error: bitwise comparison always evaluates to >> false [-Werror=tautological-compare] >> if(((

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Kees Cook
On Mon, Oct 16, 2017 at 7:12 PM, Shaohua Li wrote: > On Mon, Oct 16, 2017 at 05:01:48PM -0700, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and from_timer() >> to pass the timer pointer

Re: BUG_ON() in irq_work_run_list

2017-10-16 Thread Michael Ellerman
Chandan Rajendra writes: > Executing fstests' generic/036 test in a loop on next-20171013 kernel causes > BUG_ON()'s condition to evaluate to true, Did it used to work? ie. the bug just started happening? If so is there a next tag which *doesn't* have the bug. > run fstests generic/036 at 2017-

Re: [PATCH 2/2] KVM: VMX: Fix VPID capability detection

2017-10-16 Thread Wanpeng Li
Hi Jim, 2017-10-17 3:53 GMT+08:00 Jim Mattson : > According to the SDM, > > The IA32_VMX_EPT_VPID_CAP MSR exists only on processors that support > the 1-setting of the “activate secondary > controls” VM-execution control (only if bit 63 of the > IA32_VMX_PROCBASED_CTLS MSR is 1) and that support >

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Shaohua Li
On Mon, Oct 16, 2017 at 05:01:48PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. If you send the md.c part along, I'll apply

Re: A issue about ptrace/SINGLESTEP on arm64

2017-10-16 Thread chengjian (D)
On 2017/10/16 23:30, Will Deacon wrote: Can you jump the PC once the child appears to be "stuck"? IIRC, GDB has special heuristics to step through LDXR/STXR critical sections. The function can be returned, But the number of instructions looks too much We use objdump to count the assembly code

Re: [PATCH v2 00/12] of: overlay: clean up device tree overlay code

2017-10-16 Thread Frank Rowand
On 10/16/17 18:17, frowand.l...@gmail.com wrote: > From: Frank Rowand > > I have found the device tree overlay code to be difficult to read and > maintain. This patch series attempts to improve that situation. > > The cleanup includes some changes visible to users of overlays. The > only in ke

Re: [PATCH v2 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-16 Thread Frank Rowand
On 10/16/17 18:17, frowand.l...@gmail.com wrote: > From: Frank Rowand > > The process of applying an overlay consists of: > - unflatten an overlay FDT (flattened device tree) into an > EDT (expanded device tree) > - fixup the phandle values in the overlay EDT to fit in a > range above

  1   2   3   4   5   6   7   8   9   10   >