[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

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

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

[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

[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

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

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

[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

[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

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

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

[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

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

"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

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

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

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,

[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

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

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

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

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

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

[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

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

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

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

[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

[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

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

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

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

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 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: "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] 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: [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] 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: [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 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: Re: [PATCH] mm: Add nr_free_highatomimic to fix incorrect watermatk routine

2019-09-02 Thread Michal Hocko
On Mon 02-09-19 13:34:54, 박상우 wrote: > >On Fri 30-08-19 18:25:53, Sangwoo wrote: > >> The highatomic migrate block can be increased to 1% of Total memory. > >> And, this is for only highorder ( > 0 order). So, this block size is > >> excepted during check watermark if allocation type isn't

[PATCH bpf-next] arm64: bpf: optimize modulo operation

2019-09-02 Thread jerinj
From: Jerin Jacob Optimize modulo operation instruction generation by using single MSUB instruction vs MUL followed by SUB instruction scheme. Signed-off-by: Jerin Jacob --- arch/arm64/net/bpf_jit.h | 3 +++ arch/arm64/net/bpf_jit_comp.c | 6 ++ 2 files changed, 5 insertions(+), 4

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

2019-09-02 Thread Stephen Rothwell
Hi all, On Thu, 29 Aug 2019 15:31:16 +1000 Stephen Rothwell wrote: > > After merging the keys tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > > Caused by commit > > ef9cc255c953 ("usb: Add USB subsystem notifications") > > # CONFIG_USB_NOTIFICATIONS is not

Re: [PATCH v3] libnvdimm: Enable unit test infrastructure compile checks

2019-09-02 Thread Jason Gunthorpe
On Sat, Aug 31, 2019 at 11:52:47AM -0700, Dan Williams wrote: > The infrastructure to mock core libnvdimm routines for unit testing > purposes is prone to bitrot relative to refactoring of that core. > Arrange for the unit test core to be built when CONFIG_COMPILE_TEST=y. > This does not result in

Re: [PATCH v4 3/4] dt-bindings: Add Qualcomm USB SuperSpeed PHY bindings

2019-09-02 Thread Jorge Ramirez
On 8/30/19 20:28, Stephen Boyd wrote: > Quoting Bjorn Andersson (2019-08-30 09:45:20) >> On Fri 30 Aug 09:01 PDT 2019, Stephen Boyd wrote: >> >>> Quoting Jorge Ramirez (2019-08-29 00:03:48) On 2/23/19 17:52, Bjorn Andersson wrote: > On Thu 07 Feb 03:17 PST 2019, Jorge Ramirez-Ortiz wrote:

Re: [PATCH 0/9] staging: move greybus core out of staging

2019-09-02 Thread Greg Kroah-Hartman
On Sun, Sep 01, 2019 at 07:23:03PM +0200, Pavel Machek wrote: > Hi! > > > The Greybus code has long been "stable" but was living in the > > drivers/staging/ directory to see if there really was going to be > > devices using this protocol over the long-term. With the success of > > millions of

Re: [PATCH 2/2] touchscreen: goodix: define GPIO mapping for GPD P2 Max

2019-09-02 Thread kbuild test robot
/commits/Peter-Cai/gpio-acpi-add-quirk-to-override-GpioInt-polarity/20190902-004801 config: x86_64-fedora-25 (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add

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

2019-09-02 Thread Stephen Rothwell
Hi all, After merging the iommu tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/iommu/iommu.c: In function 'iommu_subsys_init': drivers/iommu/iommu.c:123:38: error: implicit declaration of function 'sme_active'; did you mean 'cpu_active'?

Re: [PATCH v14 1/6] sched/core: uclamp: Extend CPU's cgroup controller

2019-09-02 Thread Patrick Bellasi
On Fri, Aug 30, 2019 at 09:45:05 +, Peter Zijlstra wrote... > On Thu, Aug 22, 2019 at 02:28:06PM +0100, Patrick Bellasi wrote: >> +#define _POW10(exp) ((unsigned int)1e##exp) >> +#define POW10(exp) _POW10(exp) > > What is this magic? You're forcing a float literal into an integer. > Surely

Re: [PATCH v14 5/6] sched/core: uclamp: Update CPU's refcount on TG's clamp changes

2019-09-02 Thread Patrick Bellasi
On Fri, Aug 30, 2019 at 09:48:34 +, Peter Zijlstra wrote... > On Thu, Aug 22, 2019 at 02:28:10PM +0100, Patrick Bellasi wrote: > >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c >> index 04fc161e4dbe..fc2dc86a2abe 100644 >> --- a/kernel/sched/core.c >> +++ b/kernel/sched/core.c >>

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:22:37PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > > The software_node_get_parent() returned a pointer to the parent swnode, > > but did not take a reference to it, leading the caller to put a reference > > that was

Re: [PATCH 01/12] rdmacg: Replace strncmp with str_has_prefix

2019-09-02 Thread Chuhong Yuan
On Fri, Aug 30, 2019 at 7:52 AM Kees Cook wrote: > > On Tue, Jul 30, 2019 at 02:39:40PM +0800, Chuhong Yuan wrote: > > I think with the help of Coccinelle script, all strncmp(str, const, len) > > can be replaced and these problems will be eliminated. :) > > Hi! Just pinging this thread again. Any

Re: [PATCH v9] usbip: Implement SG support to vhci-hcd and stub driver

2019-09-02 Thread Suwan Kim
On Wed, Aug 28, 2019 at 03:42:44PM -0600, shuah wrote: > On 8/27/19 9:27 PM, Suwan Kim wrote: > > There are bugs on vhci with usb 3.0 storage device. In USB, each SG > > list entry buffer should be divisible by the bulk max packet size. > > But with native SG support, this problem doesn't matter

Re: [PATCH] Add support for Macronix NAND randomizer

2019-09-02 Thread masonccyang
Hi Miquel, > > > > > > > > If subpage write not available with hardware ECC, for example, > > > > NAND chip options NAND_NO_SUBPAGE_WRITE be set in driver and > > > > randomizer function is recommended for high-reliability. > > > > Driver checks byte 167 of Vendor Blocks in ONFI parameter

Re: [PATCH 2/2] arm64: dts: allwinner: h6: Introduce Tanix TX6 board

2019-09-02 Thread Rong Chen
Hi, On 8/19/19 2:59 AM, Jernej Škrabec wrote: Dne nedelja, 18. avgust 2019 ob 20:42:49 CEST je kbuild test robot napisal(a): Hi Jernej, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc4 next-20190816] [if your patch is

Re: [PATCH v4 03/10] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:42:35PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:44:01PM +0300, Sakari Ailus wrote: > > Add two convenience functions for accessing node's parents: > > > > fwnode_count_parents() returns the number of parent nodes a given node > > has.

Re: [PATCH] Add support for Macronix NAND randomizer

2019-09-02 Thread Richard Weinberger
On Mon, Sep 2, 2019 at 8:54 AM wrote: > > > nand@0 { > > > reg = <0>; > > > nand-reliability = "randomizer"; > > > > mxic,enable-randomizer-otp; > > > > Would be better (with the proper documentation in the

Re: [PATCH v3 06/10] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:48:17PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:39PM +0300, Sakari Ailus wrote: > > %pS and %ps are now the preferred conversion specifiers to print function > > %names. The functionality is equivalent; remove the old, deprecated %pF > > %and %pf

Re: [PATCH v3 06/10] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:55:32PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:39PM +0300, Sakari Ailus wrote: > > %pS and %ps are now the preferred conversion specifiers to print function > > %names. The functionality is equivalent; remove the old, deprecated %pF > > %and %pf

Re: linux-next: Fixes tag needs some work in the battery tree

2019-09-02 Thread Sebastian Reichel
Hi Stephen, On Mon, Sep 02, 2019 at 09:31:31AM +1000, Stephen Rothwell wrote: > In commit > > b19aca4eb2d2 ("power: supply: sbs-battery: only return health when battery > present") > > [...] > > Please do not split Fixes tags over more than one line. I have fixed this and rebased the branch,

Re: [PATCH v3 07/10] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-09-02 Thread Sakari Ailus
Hi Andy, On Fri, Aug 30, 2019 at 03:53:14PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:40PM +0300, Sakari Ailus wrote: > > Instead of implementing our own means of discovering parent nodes, node > > names or counting how many parents a node has, use the newly added > >

Re: [GIT PULL] perf/core improvements and fixes

2019-09-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo/Thomas, > > Please consider pulling, > > Best regards, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 39c2ca43465e0f52ebba3ee96fd03436367c1880: > > Merge tag

Re: Oops (request_key_auth_describe) while running cve-2016-7042 from LTP

2019-09-02 Thread David Howells
Hi Hillf, Would you like to me to put you down as the author of this patch? If so, I'll need a Signed-off-by from you. David --- commit df882ad6d4e24a3763719c1798ea58e87d56c2d7 Author: Hillf Danton Date: Fri Aug 30 15:54:33 2019 +0100 keys: Fix missing null pointer check in

Re: [PATCH v3 09/10] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-02 Thread Sakari Ailus
Hi Andy, Thanks for the review. On Fri, Aug 30, 2019 at 04:03:49PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:42PM +0300, Sakari Ailus wrote: > > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > > support printing full path of the node, including its

Re: [PATCH V2] x86/boot: Fix regression--secure boot info loss from bootparam sanitizing

2019-09-02 Thread Borislav Petkov
On Mon, Sep 02, 2019 at 12:00:54AM +0200, John S Gruber wrote: > From: "John S. Gruber" > > commit a90118c445cc ("x86/boot: Save fields explicitly, zero out everything > else") now zeros the secure boot information passed by the boot loader or > by the kernel's efi handover mechanism. Include

  1   2   3   4   5   6   7   8   9   >