Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-02 Thread Daniel Lezcano
Hi Ming Lei, On 03/09/2019 05:30, Ming Lei wrote: [ ... ] >>> 2) irq/timing doesn't cover softirq >> >> That's solvable, right? > > Yeah, we can extend irq/timing, but ugly for irq/timing, since irq/timing > focuses on hardirq predication, and softirq isn't involved in that > purpose. > >>

Re: [RFC 2/5] ARM: dts: add support for opp-v2 for omap34xx and omap36xx

2019-09-02 Thread H. Nikolaus Schaller
> Am 03.09.2019 um 04:38 schrieb Viresh Kumar : > > On 02-09-19, 12:55, H. Nikolaus Schaller wrote: >> +opp1-12500 { >> +opp-hz = /bits/ 64 <12500>; >> +// we currently only select the max voltage from table >> Table 3-3 of the

Re: [PATCH] clocksource: atmel-st: Variable sr in at91rm9200_timer_interrupt() could be uninitialized

2019-09-02 Thread Yizhuo Zhai
In function regmap_read(), there're two places which could make the read fail. First, if "reg" and "map->reg_stride" are not aligned, then remap_read() will return -EINVAL without initialize variable "val". Second, _regmap_read() could also fail and return error code if "val" is not

Re: [PATCH] powerpc: Avoid clang warnings around setjmp and longjmp

2019-09-02 Thread Nathan Chancellor
On Thu, Aug 29, 2019 at 09:59:48AM +, David Laight wrote: > From: Nathan Chancellor > > Sent: 28 August 2019 19:45 > ... > > However, I think that -fno-builtin-* would be appropriate here because > > we are providing our own setjmp implementation, meaning clang should not > > be trying to do

Re: [PATCH] ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL

2019-09-02 Thread Takashi Iwai
On Tue, 03 Sep 2019 07:30:04 +0200, Jian-Hong Pan wrote: > > Takashi Iwai 於 2019年9月2日 週一 下午7:41寫道: > > > > On Mon, 02 Sep 2019 12:00:56 +0200, > > Jian-Hong Pan wrote: > > > > > > Original pin node values of ASUS UX431FL with ALC294: > > > > > > 0x12 0xb7a60140 > > > 0x13 0x4000 > > > 0x14

RE: "fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-02 Thread Dexuan Cui
l fix the > > issue. > > I believe I'm seeing the same issue with next-20190902 in a Linux VM > running on Hyper-V (next-20190830 is good). > > git-bisect points to the same commit in linux-next: > e013ec23b823 ("fs/namei.c: keep track of nd->root refcount sta

Re: [PATCH 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-02 Thread Bjorn Andersson
On Mon 02 Sep 06:24 PDT 2019, Lee Jones wrote: > From: Bjorn Andersson > > The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem > to be similar enough to the SDM845 that we can reuse the sdm845.dtsi. > > Supported by this patch is: keyboard, battery monitoring, UFS storage,

Re: linux-next: build failure after merge of the hmm tree

2019-09-02 Thread Stephen Rothwell
Hi Dan, On Mon, 2 Sep 2019 22:31:00 -0700 Dan Williams wrote: > > On Mon, Sep 2, 2019 at 4:45 PM Stephen Rothwell wrote: > > > > Hi Jason, > > > > On Mon, 2 Sep 2019 10:51:41 + Jason Gunthorpe > > wrote: > > > > > > On Mon, Sep 02, 2019 at 08:50:17PM +1000, Stephen Rothwell wrote: > >

Re: [PATCH] ACPI: support for NXP i2c controller

2019-09-02 Thread Oleksij Rempel
Hi, On 02.09.19 23:16, Andy Shevchenko wrote: On Mon, Sep 2, 2019 at 11:58 PM Rafael J. Wysocki wrote: On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han wrote: Enable NXP i2c controller to boot with ACPI Signed-off-by: Meenakshi Aggarwal Signed-off-by: Udit Kumar Signed-off-by: Chuanhua

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

2019-09-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt between commit: 5833f5a5daf3 ("dt-bindings: gpu: mali: Add Samsung exynos5250 compatible") from the samsung-krzk tree and commit: 553cedf60056

[PATCH] rtl8xxxu: add bluetooth co-existence support for single antenna

2019-09-02 Thread Chris Chiu
The RTL8723BU suffers the wifi disconnection problem while bluetooth device connected. While wifi is doing tx/rx, the bluetooth will scan without results. This is due to the wifi and bluetooth share the same single antenna for RF communication and they need to have a mechanism to collaborate. BT

Re: [PATCH] staging: exfat: fix uninitialized variable ret

2019-09-02 Thread Nathan Chancellor
On Fri, Aug 30, 2019 at 07:46:44PM +0100, Colin King wrote: > From: Colin Ian King > > Currently there are error return paths in ffsReadFile that > exit via lable err_out that return and uninitialized error > return in variable ret. Fix this by initializing ret to zero. > > Addresses-Coverity:

Re: linux-next: build failure after merge of the hmm tree

2019-09-02 Thread Dan Williams
On Mon, Sep 2, 2019 at 4:45 PM Stephen Rothwell wrote: > > Hi Jason, > > On Mon, 2 Sep 2019 10:51:41 + Jason Gunthorpe wrote: > > > > On Mon, Sep 02, 2019 at 08:50:17PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > ERROR: "nd_region_provider_data" [drivers/acpi/nfit/nfit.ko]

[PATCH 3/3] spi: uniphier: introduce polling mode

2019-09-02 Thread Keiji Hayashibara
Introduce new polling mode for short size transfer. Either the estimated transfer time is estimated to exceed 200us, or polling loop actually exceeds 200us, it switches to irq mode. Signed-off-by: Keiji Hayashibara --- drivers/spi/spi-uniphier.c | 81

[PATCH 1/3] spi: uniphier: fix wrong register overwrite

2019-09-02 Thread Keiji Hayashibara
When it changes the spi mode, the register is overwritten incorrectly. This commit fixes this register overwrite. Signed-off-by: Keiji Hayashibara --- drivers/spi/spi-uniphier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-uniphier.c b/drivers/spi/spi-uniphier.c index

[PATCH 2/3] spi: uniphier: remove unnecessary code

2019-09-02 Thread Keiji Hayashibara
This commit removed if() because priv->is_save_param is always true. Signed-off-by: Keiji Hayashibara --- drivers/spi/spi-uniphier.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi-uniphier.c b/drivers/spi/spi-uniphier.c index e6ebbb1..d40ad93 100644 ---

[PATCH 0/3] spi: uniphier: introduce polling mode and fix bug

2019-09-02 Thread Keiji Hayashibara
This series introduces new polling mode and fixes bug. - Introduce new polling mode for short size transfer. Either the estimated transfer time is estimated to exceed 200us, or polling loop actually exceeds 200us, it switches to irq mode. - Fix a bug of register overwrite. - Minor

Re: [PATCH] ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL

2019-09-02 Thread Jian-Hong Pan
Takashi Iwai 於 2019年9月2日 週一 下午7:41寫道: > > On Mon, 02 Sep 2019 12:00:56 +0200, > Jian-Hong Pan wrote: > > > > Original pin node values of ASUS UX431FL with ALC294: > > > > 0x12 0xb7a60140 > > 0x13 0x4000 > > 0x14 0x90170110 > > 0x15 0x41f0 > > 0x16 0x41f0 > > 0x17 0x90170111 > > 0x18

Re: linux-next: build failure after merge of the iommu tree

2019-09-02 Thread Stephen Rothwell
Hi all, On Mon, 2 Sep 2019 14:26:40 + "Lendacky, Thomas" wrote: > > On 9/2/19 9:03 AM, Joerg Roedel wrote: > > > > tl;dr: And IOMMU commit introduces a new user for sme_active() in > > generic code, and commit > > > > 284e21fab2cf x86, s390/mm: Move sme_active() and

[PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva Similar to commit 22e9c88d486a ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") this patch converts the following ASM symbols to C: flush_icache_range() __flush_dcache_icache() __flush_dcache_icache_phys() This was done as we discovered a

[PATCH v2 6/6] powerpc: Don't flush caches when adding memory

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva This operation takes a significant amount of time when hotplugging large amounts of memory (~50 seconds with 890GB of persistent memory). This was orignally in commit fb5924fddf9e ("powerpc/mm: Flush cache on memory hot(un)plug") to support memtrace, but the flush on add

[PATCH v2 5/6] powerpc: Remove 'extern' from func prototypes in cache headers

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva The 'extern' keyword does not value-add for function prototypes. Signed-off-by: Alastair D'Silva --- arch/powerpc/include/asm/cache.h | 8 arch/powerpc/include/asm/cacheflush.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v2 4/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva When presented with large amounts of memory being hotplugged (in my test case, ~890GB), the call to flush_dcache_range takes a while (~50 seconds), triggering RCU stalls. This patch breaks up the call into 1GB chunks, calling cond_resched() inbetween to allow the

[PATCH v2 2/6] powerpc: define helpers to get L1 icache sizes

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva This patch adds helpers to retrieve icache sizes, and renames the existing helpers to make it clear that they are for dcache. Signed-off-by: Alastair D'Silva --- arch/powerpc/include/asm/cache.h | 29 +++

[PATCH v2 0/6] powerpc: convert cache asm to C

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva This series addresses a few issues discovered in how we flush caches: 1. Flushes were truncated at 4GB, so larger flushes were incorrect. 2. Flushing the dcache in arch_add_memory was unnecessary This series also converts much of the cache assembler to C, with the aim of

[PATCH v2 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-09-02 Thread Alastair D'Silva
From: Alastair D'Silva When calling flush_icache_range with a size >4GB, we were masking off the upper 32 bits, so we would incorrectly flush a range smaller than intended. This patch replaces the 32 bit shifts with 64 bit ones, so that the full size is accounted for. Signed-off-by: Alastair

Re: "fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-02 Thread Dexuan-Linux Cui
he same issue with next-20190902 in a Linux VM running on Hyper-V (next-20190830 is good). git-bisect points to the same commit in linux-next: e013ec23b823 ("fs/namei.c: keep track of nd->root refcount status") I can reproduce the issue every time I reboot the system. Thanks, Dexuan

Re: [PATCH v7 5/6] powerpc/64: Make COMPAT user-selectable disabled on littleendian by default.

2019-09-02 Thread Christophe Leroy
On 09/02/2019 11:53 PM, Michael Ellerman wrote: Segher Boessenkool writes: On Mon, Sep 02, 2019 at 12:03:12PM +1000, Michael Ellerman wrote: Michal Suchanek writes: On bigendian ppc64 it is common to have 32bit legacy binaries but much less so on littleendian. I think the toolchain

[PATCH] iio: imu: st_lsm6dsx: replace underscore with hyphen in device name

2019-09-02 Thread Martin Kepplinger
With the underscore character in the lsm9ds1_imu device name, we get the following error below, so use a dash, just like the other device names do too. [3.961399] Unable to handle kernel NULL pointer dereference at virtual address 0018 [4.010581] Mem abort info: [

Re: [PATCH] ABI: Update dev-kmsg documentation to match current kernel behaviour

2019-09-02 Thread Sergey Senozhatsky
On (09/02/19 11:18), James Byrne wrote: > Commit 5aa068ea4082 ("printk: remove games with previous record flags") > abolished the practice of setting the log flag to 'c' for the first > continuation line and '+' for subsequent lines. Now all continuation > lines are flagged with 'c' and '+' is

Re: [PATCH] soc/tegra: fuse: Add clock error check in tegra_fuse_readl

2019-09-02 Thread Nagarjuna Kristam
On 02-09-2019 16:15, Jon Hunter wrote: > > On 28/08/2019 12:18, Nagarjuna Kristam wrote: >> Tegra fuse clock handle is retrieved in tegra_fuse_probe(). >> tegra_fuse_readl() is exported symbol, which can be called from drivers >> at any time. tegra_fuse_readl() enables fuse clock and reads

[PATCH 3/3] task: Clean house now that tasks on the runqueue are rcu protected

2019-09-02 Thread Eric W. Biederman
Use rcu_dereference instead of task_rcu_dereference. Remove task_rcu_dereference. Remove the complications of rcuwait that were in place because tasks on the runqueue were not rcu protected. It is now safe to call wake_up_process if the target was know to be on the runqueue in the current rcu

[PATCH 2/3] task: RCU protect tasks on the runqueue

2019-09-02 Thread Eric W. Biederman
In the ordinary case today the rcu grace period of a task comes when a task is reaped, well after the task has left the runqueue. This change guarantees that the rcu grace period always happens after a task has left the runqueue. As this is something that usaually happens today I do not expect

[PATCH 1/3] task: Add a count of task rcu users

2019-09-02 Thread Eric W. Biederman
Add a count of the number of rcu users (currently 1) of the task struct so that we can later add the scheduler case and get rid of the very subtle task_rcu_dereference, and just use rcu_dereference. As suggested by Oleg have the count overlap rcu_head so that no additional space in task_struct

[PATCH 0/3] task: Making tasks on the runqueue rcu protected

2019-09-02 Thread Eric W. Biederman
I have split this work into 3 simple patches, so the code is straight forward to review and so that if any mistakes slip in it is easy to bisect them. In the process of review what it takes to remove task_rcu_dereference I found yet another user of tasks on the runqueue in rcu context; the

Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket

2019-09-02 Thread Michael S. Tsirkin
On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > Assuming we miss nothing and buffers < 4K are broken, > > I think we need to add this to the spec, possibly with > > a feature bit to relax the requirement that all buffers > > are at least 4k in size. > > > > Okay,

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-02 Thread Michael S. Tsirkin
On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > In order to reduce the number of credit update messages, > we send them only when the space available seen by the > transmitter is less than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE. > > Signed-off-by: Stefano Garzarella > --- >

linux-next: build failure after merge of the regulator tree

2019-09-02 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: ld: drivers/ata/ahci.o:(.opd+0x150): multiple definition of `regulator_bulk_set_supply_names'; drivers/phy/phy-core.o:(.opd+0x3f0): first defined here ld: drivers/ata/ahci.o: in

"fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-02 Thread Qian Cai
4.169095][T1] Read of size 4 at addr by task systemd/1 [ 104.176227][T1] [ 104.178416][T1] CPU: 166 PID: 1 Comm: systemd Not tainted 5.3.0-rc6-next-20190902 #2 [ 104.186504][T1] Hardware name: HPE Apollo 70 /C01_APACHE_MB , BIOS L50_5.13_1.11 06

[PATCH v3 1/2] uacce: Add documents for uacce

2019-09-02 Thread Zhangfei Gao
From: Kenneth Lee Uacce (Unified/User-space-access-intended Accelerator Framework) is a kernel module targets to provide Shared Virtual Addressing (SVA) between the accelerator and process. This patch add document to explain how it works. Signed-off-by: Kenneth Lee Signed-off-by: Zaibo Xu

[PATCH v3 2/2] uacce: add uacce driver

2019-09-02 Thread Zhangfei Gao
From: Kenneth Lee Uacce (Unified/User-space-access-intended Accelerator Framework) targets to provide Shared Virtual Addressing (SVA) between accelerators and processes. So accelerator can access any data structure of the main cpu. This differs from the data sharing between cpu and io device,

[PATCH v3 0/2] Add uacce module for Accelerator

2019-09-02 Thread Zhangfei Gao
Uacce (Unified/User-space-access-intended Accelerator Framework) targets to provide Shared Virtual Addressing (SVA) between accelerators and processes. So accelerator can access any data structure of the main cpu. This differs from the data sharing between cpu and io device, which share data

RE: [PATCH v2 5/6] mdev: Update sysfs documentation

2019-09-02 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Monday, September 2, 2019 8:07 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; > linux-kernel@vger.kernel.org; net...@vger.kernel.org > Subject:

RE: [PATCH v2 1/6] mdev: Introduce sha1 based mdev alias

2019-09-02 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Monday, September 2, 2019 8:16 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; > linux-kernel@vger.kernel.org; net...@vger.kernel.org > Subject:

RE: [PATCH v3 01/11] PCI: designware-ep: Add multiple PFs support for DWC

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月3日 0:26 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

[PATCH] arm64: dts: lx2160a: add tmu device node

2019-09-02 Thread Yuantian Tang
Add the TMU (Thermal Monitoring Unit) device node to enable TMU feature. Signed-off-by: Yuantian Tang --- .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 108 +++--- 1 file changed, 92 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

[PATCH v2 0/7] Nvidia Arm SMMUv2 Implementation

2019-09-02 Thread Krishna Reddy
Changes in v2: - Prepare arm_smu_flush_ops for override. - Remove NVIDIA_SMMUv2 and use ARM_SMMUv2 model as T194 SMMU hasn't modified ARM MMU-500. - Add T194 specific compatible string - "nvidia,tegra194-smmu" - Remove tlb_sync hook added in v1 and Override arm_smmu_flush_ops->tlb_sync() from

[PATCH v2 3/7] dt-bindings: arm-smmu: Add binding for Tegra194 SMMU

2019-09-02 Thread Krishna Reddy
Add binding for NVIDIA's Tegra194 Soc SMMU that is based on ARM MMU-500. Signed-off-by: Krishna Reddy --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt

RE: [PATCH][usb-next] usb: cdns3: fix missing assignment of ret before error check on ret

2019-09-02 Thread Pawel Laszczak
Hi Colin >Hi Colin > >> >>From: Colin Ian King >> >>Currently the check on a non-zero return code in ret is false because >>ret has been initialized to zero. I believe that ret should be assigned >>to the return from the call to readl_poll_timeout_atomic before the >>check on ret. Since ret is

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-02 Thread Ming Lei
On Wed, Aug 28, 2019 at 04:07:19PM +0200, Thomas Gleixner wrote: > On Wed, 28 Aug 2019, Ming Lei wrote: > > On Wed, Aug 28, 2019 at 01:23:06PM +0200, Thomas Gleixner wrote: > > > On Wed, 28 Aug 2019, Ming Lei wrote: > > > > On Wed, Aug 28, 2019 at 01:09:44AM +0200, Thomas Gleixner wrote: > > > > >

Re: [PATCH 3/3] arm64: defconfig: Enable Qualcomm QUSB2 PHY

2019-09-02 Thread Bjorn Andersson
On Mon 02 Sep 06:07 PDT 2019, Lee Jones wrote: > Tested on the Lenovo Yoga C630 where this patch enables USB. > Without it USB devices are not enumerated. > > Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH 2/3] arm64: defconfig: Enable the EFI Framebuffer

2019-09-02 Thread Bjorn Andersson
On Mon 02 Sep 06:07 PDT 2019, Lee Jones wrote: > Tested on the Lenovo Yoga C630 where this patch enables the > framebuffer (screen/monitor). Without it the device appears > not to boot. > > Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson > --- > arch/arm64/configs/defconfig | 1 + >

Re: [PATCH 1/3] arm64: defconfig: Enable Qualcomm GENI based I2C controller

2019-09-02 Thread Bjorn Andersson
On Mon 02 Sep 06:07 PDT 2019, Lee Jones wrote: > Tested on the Lenovo Yoga C630 where this patch enables the > keyboard, touchpad and touchscreen. > > Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff

RE: [PATCH net-next] r8152: modify rtl8152_set_speed function

2019-09-02 Thread Hayes Wang
Heiner Kallweit [mailto:hkallwe...@gmail.com] > Sent: Tuesday, September 03, 2019 2:37 AM [...] > Seeing all this code it might be a good idea to switch this driver > to phylib, similar to what I did with r8169 some time ago. It is too complex to be completed for me at the moment. If this patch

RE: [PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-02 Thread Anson Huang
Hi, Fabio > On Mon, Sep 2, 2019 at 11:05 PM Anson Huang > wrote: > > > + ret = input_register_device(input); > > + if (ret < 0) { > > + dev_err(>dev, "failed to register input device\n"); > > + return ret; > > + } > > + > > + pdata->input =

Re: [RFC v1] clk: core: support clocks that need to be enabled during re-parent

2019-09-02 Thread Weiyi Lu
On Tue, 2019-06-25 at 20:52 -0700, Stephen Boyd wrote: > Quoting Weiyi Lu (2019-06-25 18:05:22) > > On Tue, 2019-06-25 at 15:14 -0700, Stephen Boyd wrote: > > > Quoting Weiyi Lu (2019-06-09 20:44:53) > > > > When using property assigned-clock-parents to assign parent clocks, > > > > core clocks

RE: [PATCH] perf/x86/intel: Update ICL Core and Package C-state event counters

2019-09-02 Thread Pan, Harry
Thank you Peter for pointing out my miss, I appreciate that sincerely. > * MSR_CORE_C3_RESIDENCY: CORE C3 Residency Counter > * perf code: 0x01 > * Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,GLM, > -

Re: [RFC v3] vhost: introduce mdev based hardware vhost backend

2019-09-02 Thread Jason Wang
On 2019/9/3 上午9:56, Tiwei Bie wrote: On Mon, Sep 02, 2019 at 12:15:05PM +0800, Jason Wang wrote: On 2019/8/28 下午1:37, Tiwei Bie wrote: Details about this can be found here: https://lwn.net/Articles/750770/ What's new in this version == There are three choices based

Re: [PATCH v4] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ

2019-09-02 Thread Jian-Hong Pan
Kalle Valo 於 2019年9月2日 週一 下午8:18寫道: > > Tony Chuang writes: > > >> From: Jian-Hong Pan > >> Subject: [PATCH v4] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ > >> > >> There is a mass of jobs between spin lock and unlock in the hardware > >> IRQ which will occupy much time originally. To

Re: [GIT PULL] extcon next for v5.4

2019-09-02 Thread Chanwoo Choi
Dear Greg, Gently ping. Best Regards, Chanwoo Choi On 19. 8. 26. 오전 11:55, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v5.4. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > > Detailed description for

[v2,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-02 Thread Biwen Li
Add some features as follow: - Set quartz oscillator load capacitance by DT (generate more accuracy frequency) - Set quartz oscillator drive control by DT (reduce/increase the current consumption) - Set low jitter mode by DT (improve jitter performance) - Set

[v2,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-02 Thread Biwen Li
Add some properties for pcf85263/pcf85363 as follows: - interrupt-output-pin: string type - quartz-load-femtofarads: integer type - nxp,quartz-drive-strength: integer type - nxp,quartz-low-jitter: bool type - wakeup-source: bool type Signed-off-by: Martin Fuzzey Signed-off-by: Biwen Li

Re: [RFC 2/5] ARM: dts: add support for opp-v2 for omap34xx and omap36xx

2019-09-02 Thread Viresh Kumar
On 03-09-19, 08:08, Viresh Kumar wrote: > On 02-09-19, 12:55, H. Nikolaus Schaller wrote: > > + opp1-12500 { > > + opp-hz = /bits/ 64 <12500>; > > + // we currently only select the max voltage from table > > Table 3-3 of the omap3530 Data

Re: [PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-02 Thread Fabio Estevam
Hi Anson, On Mon, Sep 2, 2019 at 11:05 PM Anson Huang wrote: > + ret = input_register_device(input); > + if (ret < 0) { > + dev_err(>dev, "failed to register input device\n"); > + return ret; > + } > + > + pdata->input = input; > +

Re: [RFC 2/5] ARM: dts: add support for opp-v2 for omap34xx and omap36xx

2019-09-02 Thread Viresh Kumar
On 02-09-19, 12:55, H. Nikolaus Schaller wrote: > + opp1-12500 { > + opp-hz = /bits/ 64 <12500>; > + // we currently only select the max voltage from table > Table 3-3 of the omap3530 Data sheet (SPRS507F) > + //

Re: [RFC 4/5] ARM: dts: omap3-n950-n9: remove opp-v1 table

2019-09-02 Thread Viresh Kumar
On 02-09-19, 12:55, H. Nikolaus Schaller wrote: > With opp-v2 in omap36xx.dtsi and ti-cpufreq driver the > 1GHz capability is automatically detected. > > Signed-off-by: H. Nikolaus Schaller > --- > arch/arm/boot/dts/omap3-n950-n9.dtsi | 7 --- > 1 file changed, 7 deletions(-) > > diff

RE: [PATCH v3 04/11] PCI: designware-ep: Modify MSI and MSIX CAP way of finding

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 23:07 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

RE: [PATCH] Input: elants_i2c - return real value of elants_i2c_initialize()

2019-09-02 Thread Johnny.Chuang
Hi Dmitry, Thanks for your explanation. If I want to abandon this patch, what's step I need to do? Many thanks, Johnny -Original Message- From: 'Dmitry Torokhov' [mailto:dmitry.torok...@gmail.com] Sent: Friday, August 30, 2019 2:30 AM To: Johnny.Chuang Cc: linux-kernel@vger.kernel.org;

RE: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-02 Thread Xu, Lingyan (NSB - CN/Hangzhou)
Hi Jean, Thanks a lot for your comments. And, yes, it is dangerous that clear all interrupt bit here based my local test. And about the interrupt flood, I will show you in attached file. And I agree with you that add SMBALERT interrupt handler if possible, but I have no idea about what action

RE: [EXT] Re: [1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-02 Thread Biwen Li
> > Caution: EXT Email > > On Fri, Aug 30, 2019 at 05:17:19PM +0800, Biwen Li wrote: > > Add some properties for pcf85263/pcf85363 as follows: > > - interrupt-output-pin: string type > > - quartz-load-capacitance: integer type > > - quartz-drive-strength: integer type > > -

Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

2019-09-02 Thread Namhyung Kim
Hi Tejun, Sorry for the late reply. On Fri, Aug 30, 2019 at 09:58:15PM -0700, Tejun Heo wrote: > Hello, > > On Sat, Aug 31, 2019 at 12:03:26PM +0900, Namhyung Kim wrote: > > Hmm.. it looks hard to use fhandle as the identifier since perf > > sampling is done in NMI context. AFAICS the

RE: [PATCH v3 07/11] PCI: layerscape: Modify the way of getting capability with different PEX

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 21:38 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

RE: [PATCH v2 06/10] PCI: layerscape: Modify the way of getting capability with different PEX

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 21:37 > To: Xiaowei Bao > Cc: Kishon Vijay Abraham I ; bhelg...@google.com; > robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo Li > ; lorenzo.pieral...@arm.co > ; a...@arndb.de; gre...@linuxfoundation.org; >

RE: [PATCH 1/5] dt-bindings: fsl: scu: add scu power key binding

2019-09-02 Thread Anson Huang
Hi, Rob > On Fri, Aug 30, 2019 at 04:53:45PM -0400, Anson Huang wrote: > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system > > controller, the system controller is in charge of system power, clock > > and power key event etc. management, Linux kernel has to communicate > >

[PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-02 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and power key etc.. Adds i.MX system controller power key driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get

[PATCH V2 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_PWRKEY as module

2019-09-02 Thread Anson Huang
Select CONFIG_KEYBOARD_IMX_SC_PWRKEY as module by default to support i.MX8QXP power key driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH V2 3/5] arm64: dts: imx8qxp: Add scu power key node

2019-09-02 Thread Anson Huang
Add scu power key node for i.MX8QXP, disabled by default as it depends on board design. Signed-off-by: Anson Huang --- Changes since V1: - remove "wakeup-source" property, as it is NOT needed for scu mu interrupt; --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++ 1 file

[PATCH V2 4/5] arm64: dts: imx8qxp-mek: Enable scu power key

2019-09-02 Thread Anson Huang
Enable scu power key for i.MX8QXP MEK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index

[PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key binding

2019-09-02 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and power key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get power key event, add binding doc

[PATCH v7] perf diff: Report noisy for cycles diff

2019-09-02 Thread Jin Yao
This patch prints the stddev and hist for the cycles diff of program block. It can help us to understand if the cycles is noisy or not. This patch is inspired by Andi Kleen's patch https://lwn.net/Articles/600471/ We create new option '--cycles-hist'. Example: perf record -b ./div perf record

Re: [PATCH v2 1/3] dt-bindings: mtd: cadence-qspi:add support for Intel lgm-qspi

2019-09-02 Thread Ramuthevar, Vadivel MuruganX
Hi Rob,  Thank you for the review and Acked-by. On 2/9/2019 9:39 PM, Rob Herring wrote: On Tue, 27 Aug 2019 11:58:25 +0800, "Ramuthevar,Vadivel MuruganX" wrote: From: Ramuthevar Vadivel Murugan Add new vendor specific compatible string to check Intel's Lightning Mountain(LGM) QSPI

RE: [PATCH v3 10/11] arm64: dts: layerscape: Add PCIe EP node for ls1088a

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 21:06 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

Re: [RFC v3] vhost: introduce mdev based hardware vhost backend

2019-09-02 Thread Tiwei Bie
On Mon, Sep 02, 2019 at 12:15:05PM +0800, Jason Wang wrote: > On 2019/8/28 下午1:37, Tiwei Bie wrote: > > Details about this can be found here: > > > > https://lwn.net/Articles/750770/ > > > > What's new in this version > > == > > > > There are three choices based on the

Re: [PATCH v2 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-09-02 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, Thank you for review comments. On 2/9/2019 9:38 PM, Rob Herring wrote: On Wed, Aug 28, 2019 at 08:43:14PM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the SDXC PHY on Intel's Lightning Mountain

RE: [PATCH v3 11/11] misc: pci_endpoint_test: Add LS1088a in pci_device_id table

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 20:55 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

RE: [PATCH v3 09/11] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 20:46 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

Re: [PATCH RFC v4 0/15] sched,fair: flatten CPU controller runqueues

2019-09-02 Thread Rik van Riel
On Mon, 2019-09-02 at 12:53 +0200, Dietmar Eggemann wrote: > On 22/08/2019 04:17, Rik van Riel wrote: > > My main TODO items for the next period of time are likely going to > > be testing, testing, and testing. I hope to find and flush out any > > corner case I can find, and make sure performance

RE: [PATCH v3 05/11] dt-bindings: pci: layerscape-pci: add compatible strings for ls1088a and ls2088a

2019-09-02 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月2日 20:32 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

Re: [PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge

2019-09-02 Thread Baolin Wang
Hi Sebastian, On Tue, 3 Sep 2019 at 05:04, Sebastian Reichel wrote: > > Hi, > > On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote: > > This patch set adds new attributes for userspace, and fixes the the > > accuracy issue of coulomb counter calculation, as well as optimizing > > the

RE: [PATCH] arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED

2019-09-02 Thread Anson Huang
Hi, Pavel > On Mon 2019-09-02 16:45:38, Anson Huang wrote: > > i.MX8MN DDR4 EVK board has a GPIO LED to indicate status, add support > > for it. > > LED maintainers want to be on the cc list... The get_maintainer.pl does NOT show the LED maintainers...But I have added it in V2. > > > @@ -15,6

[PATCH V2] arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED

2019-09-02 Thread Anson Huang
i.MX8MN DDR4 EVK board has a GPIO LED to indicate status, add support for it. Signed-off-by: Anson Huang --- Changes since V1: - Mention color in the label. --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

RE: [PATCH v5 0/6] Deliver vGPU display refresh event to userspace

2019-09-02 Thread Zhang, Tina
Hi, Some people are asking whether the display refresh irq could be provided by qemu vfio display? Some background: currently, we have two display timers. One is provided by QEMU UI and the other one is provided by the vgpu. The vgpu display framebuffer consumers (i.e. QEMU UIs) depend on the

Re: [PATCH] net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte

2019-09-02 Thread Vladimir Oltean
On Tue, 3 Sep 2019 at 04:08, Gustavo A. R. Silva wrote: > > Add suffix LL to constant 1000 in order to avoid a potential integer > overflow and give the compiler complete information about the proper > arithmetic to use. Notice that this constant is being used in a context > that expects an

Re: [PATCH] net: hisilicon: Variable "reg_value" in function mdio_sc_cfg_reg_write() could be uninitialized

2019-09-02 Thread kbuild test robot
Hi Yizhuo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190902] [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

RE: [PATCH 1/7] iommu/arm-smmu: add Nvidia SMMUv2 implementation

2019-09-02 Thread Krishna Reddy
>>> +ARM_SMMU_MATCH_DATA(nvidia_smmuv2, ARM_SMMU_V2, NVIDIA_SMMUV2); >> The ARM MMU-500 implementation is unmodified. It is the way the are >> integrated and used together(for interleaved accesses) is different from >> regular ARM MMU-500. >> I have added it to get the model number and to be

[PATCH] net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte

2019-09-02 Thread Gustavo A. R. Silva
Add suffix LL to constant 1000 in order to avoid a potential integer overflow and give the compiler complete information about the proper arithmetic to use. Notice that this constant is being used in a context that expects an expression of type s64, but it's currently evaluated using 32-bit

Re: [PATCH] acpi/hmat: ACPI_HMAT_MEMORY_PD_VALID is deprecated in ACPI-6.3

2019-09-02 Thread Daniel Black
On Mon, 2 Sep 2019 23:28:50 +0200 "Rafael J. Wysocki" wrote: > On Tue, Aug 6, 2019 at 6:24 AM Daniel Black wrote: > > > > ACPI-6.3 corresponds to when hmat revision was bumped from > > 1 to 2. In this version ACPI_HMAT_MEMORY_PD_VALID was > > deprecated and made reserved. > > > > As such in

Re: [kbuild-all] [tip: x86/vmware] input/vmmouse: Update the backdoor call with support for new instructions

2019-09-02 Thread Philip Li
On Mon, Sep 02, 2019 at 11:36:51AM +0200, Borislav Petkov wrote: > On Mon, Sep 02, 2019 at 09:13:42AM +0800, Philip Li wrote: > > Thanks Boris, it is applied, and will take effect soon. > > Seems to has taken effect. I got the first build report. thanks for the info, Boris, glad to know this. >

RE: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

2019-09-02 Thread Dexuan Cui
> -Original Message- > From: Dexuan Cui > Sent: Monday, August 19, 2019 7:57 PM > To: ji...@kernel.org; benjamin.tissoi...@redhat.com; > linux-in...@vger.kernel.org; linux-hyp...@vger.kernel.org; Stephen > Hemminger ; Sasha Levin > ; sas...@kernel.org; Haiyang Zhang > ; KY Srinivasan ;

Re: WARNING in __mark_chain_precision (2)

2019-09-02 Thread Alexei Starovoitov
On Thu, Aug 29, 2019 at 4:28 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:47ee6e86 selftests/bpf: remove wrong nhoff in flow dissect.. > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16227fa660 > kernel config:

  1   2   3   4   5   6   7   8   9   >