[PATCH v6 5/5] input: mt: cleanup open-coded __set_bit()

2020-07-12 Thread Michał Mirosław
Replace open-coded __set_bit() with the function. Signed-off-by: Michał Mirosław --- drivers/input/input-mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index a81e14148407..f699538bdac4 100644 --- a/drivers/input/input-

[PATCH v1 3/5] dt-bindings: imx6qdl-clock: add QuadPlus enet clocks

2020-07-12 Thread Sven Van Asbroeck
On the QuadPlus, hardware designers have improved the enet clocking. Add these QuadPlus-specific clocks to the dt-bindings. Signed-off-by: Sven Van Asbroeck --- Tree: v5.8-rc4 To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: linux-kernel@v

[PATCH v6 3/5] input: elants: read touchscreen size for EKTF3624

2020-07-12 Thread Michał Mirosław
EKTF3624 as present in Asus TF300T tablet has touchscreen size encoded in different registers. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 84 -- 1 file changed, 79 insertions(+), 5

[PATCH v6 0/5] input: elants: Support Asus TF300T touchscreen

2020-07-12 Thread Michał Mirosław
This series cleans up the driver a bit and implements changes needed to support EKTF3624-based touchscreen used in Asus TF300T and similar Tegra3-based tablets. --- v2: extended with Dmitry's patches (replaced v1 patches 3 and 4) v3: rebased for v5.7-rc1 v4: rebased onto v5.7-rc2+ (current Linus'

[PATCH v6 2/5] input: elants: support old touch report format

2020-07-12 Thread Michał Mirosław
Support ELAN touchpad sensor with older firmware as found on eg. Asus Transformer Pads. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 36 ++ 1 file changed, 25 insertions(+), 11 deleti

[PATCH v1 2/5] clk: imx: add simple regmap-backed clock mux

2020-07-12 Thread Sven Van Asbroeck
On the imx6 QuadPlus, some clocktree muxes have control bits located in the GPR area. This area is already modelled as a syscon regmap. To control these muxes, add a simple regmap-backed clock mux. Signed-off-by: Sven Van Asbroeck --- Tree: v5.8-rc4 To: Shawn Guo To: Sascha Hauer Cc: Pengutr

[PATCH v1 1/5] ARM: mach-imx6q: do not select enet PTP clock source on QuadPlus

2020-07-12 Thread Sven Van Asbroeck
On QuadPlus, the enet PTP clock source is selected via the clocktree. Therefore it should not be set in the machine layer (mach-imx6q). Signed-off-by: Sven Van Asbroeck --- Tree: v5.8-rc4 To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: li

[PATCH v1 0/5] imx6qp QuadPlus: support improved enet clocking

2020-07-12 Thread Sven Van Asbroeck
On the imx6qp QuadPlus, the h/w designers have improved enet clocking. This patchset extends the clock tree to reflect the situation on QuadPlus. This allows board designers to choose the enet clocking method by making simple clocktree changes in the devicetree. Default setting: external routing

[PATCH v1 4/5] clk: imx6q: support improved enet clocking on QuadPlus

2020-07-12 Thread Sven Van Asbroeck
On the imx6q QuadPlus, hardware designers have improved the enet clocking: _ anaclk3-| \ | | _ |M |--enet_pad-->| \ | | | | enet_ref---o--->|_/

[net/scm] a315354f66: BUG:kernel_hang_in_test_stage

2020-07-12 Thread kernel test robot
Greeting, FYI, we noticed the following commit (built with gcc-9): commit: a315354f66cc3285810ec2562756eb584bab902c ("net/scm: Regularize compat handling of scm_detach_fds()") https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git for-next/seccomp in testcase: boot on test machine: qemu-

Re: [PATCH 06/21] iommu/io-pgtable-arm-v7s: Use ias to check the valid iova in unmap

2020-07-12 Thread Nicolas Boichat
On Sat, Jul 11, 2020 at 2:50 PM Yong Wu wrote: > > As title. > > Signed-off-by: Yong Wu > --- > drivers/iommu/io-pgtable-arm-v7s.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iommu/io-pgtable-arm-v7s.c > b/drivers/iommu/io-pgtable-arm-v7s.c > index 4272fe4e1

Re: [RESEND PATCH] ARM: dts: imx6sx-sdb: Add MQS support

2020-07-12 Thread Shawn Guo
On Sun, Jul 12, 2020 at 05:16:42PM +0800, Shengjiu Wang wrote: > Add MQS support. As the pin conflict with usdhc2, then need > to add a separate dts. > > Signed-off-by: Shengjiu Wang Applied, thanks.

[PATCH 2/5] clk: x86: Change name from ST to FCH

2020-07-12 Thread Akshu Agrawal
AMD SoC general pupose clk is present in new platforms with minor differences. We can reuse the same clk driver for other platforms. Hence, changing name from ST(SoC) to FCH(IP) Signed-off-by: Akshu Agrawal --- drivers/clk/x86/Makefile| 2 +- drivers/clk/x86/{clk-st.c => clk-fch

[PATCH 3/5] ACPI: APD: Add a fmw property is_raven

2020-07-12 Thread Akshu Agrawal
Since there is slight difference in AMD RV based soc in misc clk architecture. The fmw property will help in differentiating the SoCs. Signed-off-by: Akshu Agrawal --- drivers/acpi/acpi_apd.c | 4 include/linux/platform_data/clk-fch.h | 1 + 2 files changed, 5 insertions(+) d

[PATCH 1/5] ACPI: APD: Change name from ST to FCH

2020-07-12 Thread Akshu Agrawal
AMD SoC general pupose clk is present in new platforms with same MMIO mappings. We can reuse the same clk handler support for other platforms. Hence, changing name from ST(SoC) to FCH(IP) Signed-off-by: Akshu Agrawal --- drivers/acpi/acpi_apd.c| 14 +++--- ...

[PATCH 4/5] clk: x86: Support RV architecture

2020-07-12 Thread Akshu Agrawal
There is minor difference between previous family of SoC and the current one. Which is the there is only 48Mh fixed clk. There is no mux and no option to select another freq as there in previous. Signed-off-by: Akshu Agrawal --- drivers/clk/x86/clk-fch.c | 55

Re: [PATCH v5 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-12 Thread Bart Van Assche
On 2020-07-09 01:40, Avri Altman wrote: > Bart - how do you want to proceed? Hi Avri and Daejun, As far as I can see none of the five patches have Reviewed-by tags yet. I think that Martin expects formal reviews for this patch series from one or more reviewers who are not colleagues of the author

Re: [PATCH] ASoC: rt5682: Add fmw property to get name of mclk

2020-07-12 Thread Agrawal, Akshu
On 7/7/2020 4:00 PM, Mark Brown wrote: On Tue, Jul 07, 2020 at 03:38:25PM +0530, Akshu Agrawal wrote: Non-dts based systems can use ACPI DSDT to pass on the mclk. Thus add fmw property mclk-name to get the name of the system clk and link it to rt5682 mclk. ACPI doesn't support clocks at all,

[PATCH] x86/entry: add compatibility with IAS

2020-07-12 Thread Jian Cai
Clang's integrated assembler does not allow symbols with non-absolute values to be reassigned. This patch allows the affected code to be compatible with IAS. Link: https://github.com/ClangBuiltLinux/linux/issues/1043 Reported-by: Nick Desaulniers Reported-by: Sedat Dilek Suggested-by: Nick Desau

Re: [PATCH v5 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-12 Thread Daejun Park
Hi Bart, > > Bart - how do you want to proceed? > > Hi Avri and Daejun, > > As far as I can see none of the five patches have Reviewed-by tags yet. I > think that Martin expects formal reviews for this patch series from one or > more reviewers who are not colleagues of the author of this patch s

Re: arch/mips/alchemy/devboards/db1300.c:(.text.db1300_wm97xx_probe+0x2c): undefined reference to `wm97xx_config_gpio'

2020-07-12 Thread Jiaxun Yang
ago config: mips-randconfig-c023-20200712 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): mipsel-linux-ld: arch/mips/alchemy/devboards/db1300

Re: [PATCH v3] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-12 Thread Bart Van Assche
On 2020-07-06 06:21, Stanley Chu wrote: > If somehow no interrupt notification is raised for a completed request > and its doorbell bit is cleared by host, UFS driver needs to cleanup > its outstanding bit in ufshcd_abort(). How is it possible that no interrupt notification is raised for a complet

Re: [PATCH v3 14/16] arm64: allwinner: A100: add the basical Allwinner A100 DTSI file

2020-07-12 Thread 李扬韬
>Hi, > >Thanks for sending a new series > >On Wed, Jul 08, 2020 at 04:25:05PM +0800, Frank Lee wrote: >> + thermal-zones { >> + cpu_thermal_zone { >> + polling-delay-passive = <0>; >> + polling-delay = <0>; >> + thermal-sensors = <&ths 0>; >> + }; >> + >> + gpu_thermal_zone { >> + pollin

RE: [PATCH 1/2] Input: elan_i2c - Add ic type 0x11 0x13 0x14.

2020-07-12 Thread jingle
Hi Dmitry: Could you please tell me what devices this patch was tested with? I want to be sure we are not only adding support for newer devices, but also not breaking existing ones. --> The device which this patch was tested with was "coral". --> Its corresponding ic_type was 0xD, 0xE, 0x10, 0x11,

Re: [PATCH v3] mm, oom: make the calculation of oom badness more accurate

2020-07-12 Thread Yafang Shao
On Mon, Jul 13, 2020 at 2:34 AM Naresh Kamboju wrote: > > On Fri, 10 Jul 2020 at 21:28, Yafang Shao wrote: > > > > Recently we found an issue on our production environment that when memcg > > oom is triggered the oom killer doesn't chose the process with largest > > resident memory but chose the

Re: [PATCH v5 02/17] perf ftrace: add option '-F/--funcs' to list available functions

2020-07-12 Thread Namhyung Kim
Hello, On Sat, Jul 11, 2020 at 9:42 PM Changbin Du wrote: > > This adds an option '-F/--funcs' to list all available functions to trace, > which is read from tracing file 'available_filter_functions'. > > $ sudo ./perf ftrace -F | head > trace_initcall_finish_cb > initcall_blacklisted > do_one_in

[PATCH v2] fpga: dfl: pci: add device id for Intel FPGA PAC N3000

2020-07-12 Thread Xu Yilun
Add PCIe Device ID for Intel FPGA PAC N3000. Signed-off-by: Wu Hao Signed-off-by: Xu Yilun Signed-off-by: Matthew Gerlach Signed-off-by: Russ Weight Reviewed-by: Wu Hao Reviewed-by: Tom Rix --- drivers/fpga/dfl-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/fpga/dfl-pci

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

2020-07-12 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/bridge/br_netlink_tunnel.c: In function '__vlan_tunnel_handle_range': net/bridge/br_netlink_tunnel.c:271:26: error: implicit declaration of function 'br_vlan_can_enter_range'; did yo

RE: [PATCH] xen: introduce xen_vring_use_dma

2020-07-12 Thread Peng Fan
> Subject: Re: [PATCH] xen: introduce xen_vring_use_dma > > Sorry for the late reply -- a couple of conferences kept me busy. > > > On Wed, 1 Jul 2020, Michael S. Tsirkin wrote: > > On Wed, Jul 01, 2020 at 10:34:53AM -0700, Stefano Stabellini wrote: > > > Would you be in favor of a more flexible

[PATCH -next] remoteproc: qcom: Add missing slab.h

2020-07-12 Thread Kefeng Wang
drivers/remoteproc/qcom_common.c: In function ‘qcom_ssr_get_subsys’: drivers/remoteproc/qcom_common.c:210:9: error: implicit declaration of function ‘kzalloc’; did you mean ‘vzalloc’? [-Werror=implicit-function-declaration] info = kzalloc(sizeof(*info), GFP_KERNEL); ^~~ vza

Re: [PATCH RFC] leds: Add support for per-LED device triggers

2020-07-12 Thread Ondřej Jirman
Hello Pavel, On Sun, Jul 12, 2020 at 09:11:11PM +0200, Pavel Machek wrote: > > > So.. 48 triggers on Marek's systems means I'll not apply your patch. > > > > > > Please take a look at my version, it is as simple and avoids that > > > problem. > > > > I would, but I don't see your version linked

Re: [PATCH] fpga: dfl: pci: add device id for Intel FPGA PAC N3000

2020-07-12 Thread Xu Yilun
On Fri, Jul 10, 2020 at 08:46:16AM -0700, Moritz Fischer wrote: > On Fri, Jul 10, 2020 at 06:14:19AM +, Wu, Hao wrote: > > > On Thu, Jul 09, 2020 at 06:00:40AM -0700, Tom Rix wrote: > > > > > > > > On 7/9/20 3:14 AM, Wu, Hao wrote: > > > > >> On Thu, Jul 09, 2020 at 05:10:49PM +0800, Wu, Hao wr

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

2020-07-12 Thread Stephen Rothwell
Hi all, On Tue, 7 Jul 2020 17:07:20 +1000 Stephen Rothwell wrote: > > Hi all, > > After merging the kbuild tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > cc1: fatal error: opening output file > arch/powerpc/boot/dts/.ebony.dtb.dts.tmp: No such file or direct

Re: [PATCH] mm : fix pte _PAGE_DIRTY bit when fallback migrate page

2020-07-12 Thread Robbie Ko
Vlastimil Babka 於 2020/7/10 下午11:31 寫道: On 7/9/20 4:48 AM, robbieko wrote: From: Robbie Ko When a migrate page occurs, we first create a migration entry to replace the original pte, and then go to fallback_migrate_page to execute a writeout if the migratepage is not supported. In the writeo

Re: [PATCH v5 07/17] perf ftrace: add option '--inherit' to trace children processes

2020-07-12 Thread Namhyung Kim
On Sat, Jul 11, 2020 at 9:42 PM Changbin Du wrote: > > This adds an option '--inherit' to allow us trace children > processes spawned by our target. > > Signed-off-by: Changbin Du > > --- > v2: option name '--trace-children' -> '--inherit'. > --- > tools/perf/Documentation/perf-ftrace.txt | 3 +

Re: [PATCH v2] fpga: dfl: pci: add device id for Intel FPGA PAC N3000

2020-07-12 Thread Moritz Fischer
On Mon, Jul 13, 2020 at 09:47:46AM +0800, Xu Yilun wrote: > Add PCIe Device ID for Intel FPGA PAC N3000. > > Signed-off-by: Wu Hao > Signed-off-by: Xu Yilun > Signed-off-by: Matthew Gerlach > Signed-off-by: Russ Weight > Reviewed-by: Wu Hao > Reviewed-by: Tom Rix > --- > drivers/fpga/dfl-pc

Re: [PATCH V3] firmware: imx: Move i.MX SCU soc driver into imx firmware folder

2020-07-12 Thread Shawn Guo
On Fri, Jun 26, 2020 at 05:14:07AM +0800, Anson Huang wrote: > The i.MX SCU soc driver depends on SCU firmware driver, so it has to > use platform driver model for proper defer probe operation, since > it has no device binding in DT file, a simple platform device is > created together inside the pl

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

2020-07-12 Thread Stephen Rothwell
Hi all, On Wed, 8 Jul 2020 14:00:34 +1000 Stephen Rothwell wrote: > > After merging the security tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/anon_inodes.c: In function 'anon_inode_make_secure_inode': > fs/anon_inodes.c:70:10: error: implicit declaration o

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

2020-07-12 Thread Stephen Rothwell
Hi all, On Mon, 13 Jul 2020 12:04:19 +1000 Stephen Rothwell wrote: > > I am still applying the above patch ... And the mail address Daniel Colascione bounces. -- Cheers, Stephen Rothwell pgp7yzn576n6Z.pgp Description: OpenPGP digital signature

Re: [PATCH v5 13/17] perf ftrace: add option 'verbose' to show more info for graph tracer

2020-07-12 Thread Namhyung Kim
On Sat, Jul 11, 2020 at 9:43 PM Changbin Du wrote: > > Sometimes we want ftrace display more and longer information about > the trace. > > $ sudo perf ftrace -G > 2) 0.979 us| mutex_unlock(); > 2) 1.540 us| __fsnotify_parent(); > 2) 0.433 us| fsnotify(); > > $ sudo perf ftr

[PATCH] driver core: Fix probe_count imbalance in really_probe()

2020-07-12 Thread Tetsuo Handa
syzbot is reporting hung task in wait_for_device_probe() [1]. At least, we always need to decrement probe_count if we incremented probe_count in really_probe(). However, since I can't find "Resources present before probing" message in the console log, both "this message simply flowed off" and "syz

[PATCH v3 11/16] dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi

2020-07-12 Thread Frank Lee
There is no one use "allwinner,sun9i-a80-sc-nmi". The A80 uses "allwinner,sun9i-a80-nmi". Let's fix it. Signed-off-by: Frank Lee --- .../bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicet

Re: [Patch V2] arm64: dts: ls1028a: Add DSPI flash nodes for LS1028a-qds

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 10:46:34AM +0800, Qiang Zhao wrote: > From: Xiaowei Bao > > Add the DSPI flash nodes into fsl-ls1028a-qds.dts > > Signed-off-by: Xiaowei Bao > Signed-off-by: Zhao Qiang Updated subject as 'arm64: dts: ls1028a-qds: Add DSPI flash nodes' and applied the patch. Shawn

[PATCH v3 12/16] dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller

2020-07-12 Thread Frank Lee
Add a binding for A100's nmi controller. Signed-off-by: Frank Lee --- .../bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml b/Document

Re: [PATCH 1/2] arm64: dts: ls1046a: add more thermal zone support

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 03:45:18PM +0800, andy.t...@nxp.com wrote: > From: Yuantian Tang > > There are 5 thermal zones in ls1046a soc. Add the rest thermal zone > nodes to enable them. > > Signed-off-by: Yuantian Tang Applied both, thanks.

Re: [PATCH v5 2/8] lib/mpi: Extend the MPI library

2020-07-12 Thread Tianjia Zhang
On 2020/7/10 21:12, Marcelo Henrique Cerri wrote: Hi, Tianjia. On Thu, Jul 09, 2020 at 04:40:09PM +0800, Tianjia Zhang wrote: Expand the mpi library based on libgcrypt, and the ECC algorithm of mpi based on libgcrypt requires these functions. Some other algorithms will be developed based on

Re: [PATCH] arm64: dts: imx8mp: add ddr pmu device node

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 04:42:30PM +0800, Joakim Zhang wrote: > Add ddr pmu device node for i.MX8MP. > > Signed-off-by: Joakim Zhang Applied, thanks.

[PATCH v3 13/16] dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node.

2020-07-12 Thread Frank Lee
Allwinner A100 have a mv64xxx i2c interface available to be used. Signed-off-by: Frank Lee --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/dev

Re: linux-next: Tree for Jul 10

2020-07-12 Thread Randy Dunlap
On 7/12/20 3:01 PM, Stephen Rothwell wrote: > Hi Andy, > > On Sun, 12 Jul 2020 18:56:04 +0300 Andy Shevchenko > wrote: >> >> On Fri, Jul 10, 2020 at 06:33:18PM +1000, Stephen Rothwell wrote: >>> >>> Changes since 20200709: >> >> I can't build it on Debian with Sparse enabled >> >> CC init/m

RE: [RFC]PATCH] exfat: integrates dir-entry getting and validation

2020-07-12 Thread Sungjong Seo
> Add validation for num, bh and type on getting dir-entry. > ('file' and 'stream-ext' dir-entries are pre-validated to ensure success) > Renamed exfat_get_dentry_cached() to exfat_get_validated_dentry() due to a > change in functionality. > > Integrate type-validation with simplified. > This will

[PATCH v3 13/16] dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node.

2020-07-12 Thread Frank Lee
Allwinner A100 have a mv64xxx i2c interface available to be used. Signed-off-by: Frank Lee --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/dev

Re: [PATCH v5 0/4] printk: replace ringbuffer

2020-07-12 Thread Sergey Senozhatsky
On (20/07/10 10:28), Petr Mladek wrote: > On Thu 2020-07-09 15:29:40, John Ogness wrote: > > Hello, > > > > Here is a v5 for the first series to rework the printk > > subsystem. The v4 is here [0]. This first series > > only replaces the existing ringbuffer implementation. No locking > > is remove

KASAN: use-after-free Read in userfaultfd_release (2)

2020-07-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:89032636 Add linux-next specific files for 20200708 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1028732f10 kernel config: https://syzkaller.appspot.com/x/.config?x=64a250ebabc6c320 dashboard

Re: [PATCH v2] doc:kmsg: explictly state the return value in case of SEEK_CUR

2020-07-12 Thread Sergey Senozhatsky
On (20/07/10 14:44), Bruno Meneguele wrote: > The commit 625d3449788f ("Revert "kernel/printk: add kmsg SEEK_CUR > handling"") reverted a change done to the return value in case a SEEK_CUR > operation was performed for kmsg buffer based on the fact that different > userspace apps were handling the

Re: linux-next: Tree for Jul 10

2020-07-12 Thread Randy Dunlap
On 7/12/20 7:19 PM, Randy Dunlap wrote: > On 7/12/20 3:01 PM, Stephen Rothwell wrote: >> Hi Andy, >> >> On Sun, 12 Jul 2020 18:56:04 +0300 Andy Shevchenko >> wrote: >>> >>> On Fri, Jul 10, 2020 at 06:33:18PM +1000, Stephen Rothwell wrote: Changes since 20200709: >>> >>> I can't build it

Re: [PATCH v3] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-12 Thread Stanley Chu
Hi Bart and Avri, On Sun, 2020-07-12 at 18:39 -0700, Bart Van Assche wrote: > On 2020-07-06 06:21, Stanley Chu wrote: > > If somehow no interrupt notification is raised for a completed request > > and its doorbell bit is cleared by host, UFS driver needs to cleanup > > its outstanding bit in ufshc

Re: linux-next: Tree for Jul 10

2020-07-12 Thread Linus Torvalds
On Sun, Jul 12, 2020 at 7:20 PM Randy Dunlap wrote: > > > > > Not that I am aware of at the moment. Does next-20200709 work? Does > > Linus' tree work? The only obvious thing I can think of is commit > > I'm hitting this same thing on 5.8-rc5. (x86_64) > > > 6ec4476ac825 ("Raise gcc version req

Re: [PATCH v3 16/16] arm64: allwinner: A100: add support for Allwinner Perf1 board

2020-07-12 Thread 李扬韬
>> +&pio { >> + vcc-pb-supply = <®_dcdc1>; >> + vcc-pc-supply = <®_eldo1>; >> + vcc-pd-supply = <®_dcdc1>; >> + vcc-pe-supply = <®_dldo2>; >> + vcc-pf-supply = <®_dcdc1>; >> + vcc-pg-supply = <®_dldo1>; >> + vcc-ph-supply = <®_dcdc1>; >> +}; >There's something off here. The PC supply is set to eld

Re: [PATCH v3 04/16] dt-bindings: pinctrl: sunxi: make gpio banks supplies required

2020-07-12 Thread Frank Lee
Maybe we put this work backwards and let a100 join the mainline as soon as possible.

Re: [PATCH 1/3] dt-bindings: ARM: imx: add kamstrup flex concentrator to schema

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 01:49:25PM +0200, Bruno Thomsen wrote: > Add Kamstrup flex concentrator compatibles to the schema so we can > make use of them for the validation. > > Signed-off-by: Bruno Thomsen 'dt-bindings: fsl: ...' should be just fine as subject prefix. Shawn > --- > Documentatio

Re: linux-next: Tree for Jul 10

2020-07-12 Thread Randy Dunlap
On 7/12/20 7:27 PM, Linus Torvalds wrote: > On Sun, Jul 12, 2020 at 7:20 PM Randy Dunlap wrote: >> >>> >>> Not that I am aware of at the moment. Does next-20200709 work? Does >>> Linus' tree work? The only obvious thing I can think of is commit >> >> I'm hitting this same thing on 5.8-rc5. (x86

Re: [PATCH] x86/entry: add compatibility with IAS

2020-07-12 Thread Brian Gerst
On Sun, Jul 12, 2020 at 9:26 PM Jian Cai wrote: > > Clang's integrated assembler does not allow symbols with non-absolute > values to be reassigned. This patch allows the affected code to be > compatible with IAS. > > Link: https://github.com/ClangBuiltLinux/linux/issues/1043 > Reported-by: Nick D

Re: [PATCH v3 00/16] Allwinner A100 Initial support

2020-07-12 Thread Frank Lee
HI, >> dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi >> dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller > >it doesn't look like those patches went through? Due to sending too many emails at once, it seems that some emails have been filtered by the mailbox, and I j

RE: [PATCH v4] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-12 Thread 陳昭勳
Dear Alexandre Belloni, > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Thursday, July 9, 2020 11:28 PM > To: Johnson CH Chen (陳昭勳) ; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linux-watch...@vger.kernel.org > Cc: Wim Van Sebroeck ; a.zu...@towertech.it; > alexandre.bel

Re: [PATCH v3] mm, oom: make the calculation of oom badness more accurate

2020-07-12 Thread Stephen Rothwell
Hi all, On Fri, 10 Jul 2020 11:57:31 -0400 Yafang Shao wrote: > > --- > v2 -> v3: > - fix the type of variable 'point' in oom_evaluate_task() > - initialize oom_control->chosen_points in select_bad_process() per Michal > - update the comment in proc_oom_score() per Michal I have applied the foll

Re: [PATCH v3 2/2] riscv: Enable per-task stack canaries

2020-07-12 Thread Kees Cook
On Fri, Jul 10, 2020 at 04:19:58PM +, guo...@kernel.org wrote: > From: Guo Ren > > This enables the use of per-task stack canary values if GCC has > support for emitting the stack canary reference relative to the > value of tp, which holds the task struct pointer in the riscv > kernel. > > A

Re: [PATCH v3 00/16] Allwinner A100 Initial support

2020-07-12 Thread Frank Lee
> On Wed, Jul 08, 2020 at 03:19:26PM +0800, Frank Lee wrote: >> This patch set adds initial support for allwinner a100 soc, >> which is a 64-bit tablet chip. > > > > Hello > > Does a product already exists with it ? I couldnt found any. > Does a datasheet is availlable ? > The product is sti

RE: [RESEND PATCH 1/2] arm64: dts: lx2160a: add dspi controller DT nodes

2020-07-12 Thread Qiang Zhao
On Sat, July 11, 2020 at 22:23PM +0800, Shawn Guo wrote: > -Original Message- > From: Shawn Guo > Sent: 2020年7月11日 22:23 > To: Qiang Zhao > Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Leo Li > ; Chuanhua Han > Subject: Re: [RESEND PATCH 1/2] arm64: dts: lx2160a: add d

RE: [PATCH v3 0/2] make dma_alloc_coherent NUMA-aware by per-NUMA CMA

2020-07-12 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Sunday, June 28, 2020 11:13 PM > To: h...@lst.de; m.szyprow...@samsung.com; robin.mur...@arm.com; > w...@kernel.org; ganapatrao.kulka...@cavium.com; > catalin.mari...@arm.com > Cc: io...@lists.linux-foundation.org; Linuxarm ;

[PATCH] arm: omap-iommu: fix return value check in _get_pwrdm()

2020-07-12 Thread Xu Wang
In case of error, function of_clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Xu Wang --- arch/arm/mach-omap2/omap-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mac

Re: [PATCH 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-12 Thread Peter Chen
On 20-07-10 17:49:33, Philippe Schenker wrote: > Chipidea depends on some hardware signals to be there in order > for runtime-pm to work well. Add the possibility to disable runtime > power management that is necessary for certain boards. > > Signed-off-by: Philippe Schenker > --- > > drivers/u

Re: [PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 01:49:26PM +0200, Bruno Thomsen wrote: > This adds support for the OMNIA Flex Concentrator product > from Kamstrup A/S. It's providing radio mesh communication > infrastructure for smart electricity meters. > > Kamstrup OMNIA is a modular and scalable smart grid platform. >

RE: [PATCH 1/2] Input: elan_i2c - Add ic type 0x11 0x13 0x14.

2020-07-12 Thread jingle
Hi Dmitry: 1. Could you please tell me what devices this patch was tested with? I want to be sure we are not only adding support for newer devices, but also not breaking existing ones. --> The device which this patch was tested with was "coral". --> Its corresponding ic_type was 0xD, 0xE, 0x10, 0x

Re: WARNING: at mm/mremap.c:211 move_page_tables in i386

2020-07-12 Thread Joel Fernandes
Hi Linus, On Sun, Jul 12, 2020 at 03:58:06PM -0700, Linus Torvalds wrote: > On Sun, Jul 12, 2020 at 2:50 PM Joel Fernandes wrote: > > > > I reproduced Naresh's issue on a 32-bit x86 machine and the below patch > > fixes it. > > The issue is solely within execve() itself and the way it allocates/

Re: [PATCH] x86/entry: add compatibility with IAS

2020-07-12 Thread Arvind Sankar
On Sun, Jul 12, 2020 at 06:24:22PM -0700, Jian Cai wrote: > Clang's integrated assembler does not allow symbols with non-absolute > values to be reassigned. This patch allows the affected code to be > compatible with IAS. > > Link: https://github.com/ClangBuiltLinux/linux/issues/1043 > Reported-by

Re: [PATCH] xsk: ixgbe: solve the soft interrupt 100% CPU usage when xdp rx traffic congestion

2020-07-12 Thread Yahui Chen
xdp skb-mode does not have this problem because `ixgbe_alloc_rx_buffers` always returns success and can always get the DMA address for packets. I think drv-mode should do the same. If the drv-mode app does not use the wakeup flag, the xdp queue's soft interrupt handles fewer packets but may occupy

Re: [PATCH 3/3] MAINTAINERS: Add Bruno Thomsen as reviewer of Kamstrup DTS

2020-07-12 Thread Shawn Guo
On Mon, Jun 29, 2020 at 01:49:27PM +0200, Bruno Thomsen wrote: > Add myself as reviewer of device trees for Kamstrup > Concentrators. > > Signed-off-by: Bruno Thomsen > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 496fd4eafb68

[PATCH] vgacon: Fix an out-of-bounds in vgacon_scrollback_update()

2020-07-12 Thread Yang Yingliang
I got a slab-out-of-bounds report when I doing fuzz test. [ 334.989515] == [ 334.989577] BUG: KASAN: slab-out-of-bounds in vgacon_scroll+0x57a/0x8ed [ 334.989588] Write of size 1766 at addr 8883de69ff3e by task test/2658 [ 33

Re: [PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-12 Thread Manivannan Sadhasivam
On Mon, Jul 13, 2020 at 12:15:28AM +0530, Amit Tomer wrote: > Hi, > > On Sun, Jul 12, 2020 at 11:00 PM Manivannan Sadhasivam > wrote: > > > > On Thu, Jul 02, 2020 at 08:22:56PM +0530, Amit Singh Tomar wrote: > > > This commit adds uSD support for Cubieboard7 board based on Actions Semi > > > S700

Re: [PATCH] imx: Provide correct number of resources when registering gpio devices

2020-07-12 Thread Shawn Guo
On Tue, Jun 30, 2020 at 08:26:51PM -0700, Guenter Roeck wrote: > Since commit a85a6c86c25be ("driver core: platform: Clarify that IRQ 0 is > invalid"), the kernel is a bit touchy when it encounters interrupt 0. > As a result, there are lots of warnings such as the following when booting > systems s

arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'xfs_iflush_abort' - wrong count at exit

2020-07-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 11ba468877bb23f28956a35e896356252d63c983 commit: 4165994ac9672d91134675caa6de3645a9ace6c8 xfs: factor common AIL item deletion code date: 4 months ago config: i386-randconfig-s001-20200713 (attached as .co

[PATCH] vgacon: fix a UAF in do_update_region()

2020-07-12 Thread Yang Yingliang
I got a UAF report in do_update_region() when I doing fuzz test. [ 51.161905] BUG: KASAN: use-after-free in do_update_region+0x579/0x600 [ 51.161918] Read of size 2 at addr 88800010 by task test/295 [ 51.161957] CPU: 2 PID: 295 Comm: test Not tainted 5.7.0+ #975 [ 51.161969] Hardw

Re: [PATCH] usb: gadget: bdc: use readl_poll_timeout() to simplify code

2020-07-12 Thread Chunfeng Yun
On Fri, 2020-07-10 at 16:37 -0700, Stephen Boyd wrote: > Quoting Chunfeng Yun (2020-07-09 20:30:56) > > diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c > > b/drivers/usb/gadget/udc/bdc/bdc_core.c > > index 02a3a77..fa173de 100644 > > --- a/drivers/usb/gadget/udc/bdc/bdc_core.c > > +++ b/drivers

Re: [PATCH v4 5/7] KVM: PPC: clean up redundant kvm_run parameters in assembly

2020-07-12 Thread Tianjia Zhang
On 2020/5/26 13:59, Paul Mackerras wrote: On Mon, Apr 27, 2020 at 12:35:12PM +0800, Tianjia Zhang wrote: In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' structure. For historical reasons, many kvm-related function parameters retain the 'kvm_run' and 'kvm_vcpu' parame

[PATCH v2] f2fs: change the way of handling range.len in F2FS_IOC_SEC_TRIM_FILE

2020-07-12 Thread Daeho Jeong
From: Daeho Jeong Changed the way of handling range.len of F2FS_IOC_SEC_TRIM_FILE. 1. Added -1 value support for range.len to secure trim the whole blocks starting from range.start regardless of i_size. 2. If the end of the range passes over the end of file, it means until the end of fi

Re: [PATCH v10 04/15] perf evlist: introduce control file descriptors

2020-07-12 Thread Namhyung Kim
Hello, On Wed, Jul 8, 2020 at 4:47 PM Alexey Budankov wrote: > > > Define and initialize control file descriptors. > > Signed-off-by: Alexey Budankov > --- > tools/perf/util/evlist.c | 3 +++ > tools/perf/util/evlist.h | 5 + > 2 files changed, 8 insertions(+) > > diff --git a/tools/perf/ut

Re: [EXT] Re: [PATCH 1/2] arm64: dts: ls1088a: add more thermal zone support

2020-07-12 Thread Shawn Guo
On Thu, Jul 02, 2020 at 03:33:59AM +, Andy Tang wrote: > Hi Shawn, > > Do you think it is ok if the cooling devices are shared between thermal zones? Yeah, Amit has the authority on thermal support, so follow his suggestion, I would say :) Shawn

RE: [PATCH 2/2] Input: elan_i2c - High resolution report for new pattern 2.

2020-07-12 Thread jingle
HI Dmitry: 1. Could you please explain relationship between IC types and "pattern"? --> There is no direct connection between IC_type and "pattern". 2. Can there be controllers with same IC type but different patterns? --> Yes, same IC type might have different pattern, ir depends on the TP size.

[PATCH] clk: clk-atlas6: fix return value check in atlas6_clk_init()

2020-07-12 Thread Xu Wang
In case of error, the function clk_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Xu Wang --- drivers/clk/sirf/clk-atlas6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

Re: [PATCH v10 05/15] perf evlist: implement control command handling functions

2020-07-12 Thread Namhyung Kim
On Wed, Jul 8, 2020 at 4:50 PM Alexey Budankov wrote: > > > Implement functions of initialization, finalization and processing > of control command messages coming from control file descriptors. > Allocate control file descriptor as descriptor at struct pollfd > object of evsel_list for atomic pol

Re: [PATCH] ARM: dts: imx6ul: Add ASRC device node

2020-07-12 Thread Shawn Guo
On Wed, Jul 01, 2020 at 11:46:56AM +0800, Shengjiu Wang wrote: > Add ASRC device node. > > Signed-off-by: Shengjiu Wang Applied, thanks.

[PATCH V5 0/4] mm/debug_vm_pgtable: Add some more tests

2020-07-12 Thread Anshuman Khandual
This series adds some more arch page table helper validation tests which are related to core and advanced memory functions. This also creates a documentation, enlisting expected semantics for all page table helpers as suggested by Mike Rapoport previously (https://lkml.org/lkml/2020/1/30/40). Ther

[PATCH V5 1/4] mm/debug_vm_pgtable: Add tests validating arch helpers for core MM features

2020-07-12 Thread Anshuman Khandual
This adds new tests validating arch page table helpers for these following core memory features. These tests create and test specific mapping types at various page table levels. 1. SPECIAL mapping 2. PROTNONE mapping 3. DEVMAP mapping 4. SOFTDIRTY mapping 5. SWAP mapping 6. MIGRATION mapping 7. HU

[PATCH V5 3/4] mm/debug_vm_pgtable: Add debug prints for individual tests

2020-07-12 Thread Anshuman Khandual
This adds debug print information that enlists all tests getting executed on a given platform. With dynamic debug enabled, the following information will be splashed during boot. For compactness purpose, dropped both time stamp and prefix (i.e debug_vm_pgtable) from this sample output. [debug_vm_p

[PATCH V5 2/4] mm/debug_vm_pgtable: Add tests validating advanced arch page table helpers

2020-07-12 Thread Anshuman Khandual
This adds new tests validating for these following arch advanced page table helpers. These tests create and test specific mapping types at various page table levels. 1. pxxp_set_wrprotect() 2. pxxp_get_and_clear() 3. pxxp_set_access_flags() 4. pxxp_get_and_clear_full() 5. pxxp_test_and_clear_young

[PATCH V5 4/4] Documentation/mm: Add descriptions for arch page table helpers

2020-07-12 Thread Anshuman Khandual
This adds a specific description file for all arch page table helpers which is in sync with the semantics being tested via CONFIG_DEBUG_VM_PGTABLE. All future changes either to these descriptions here or the debug test should always remain in sync. Cc: Jonathan Corbet Cc: Andrew Morton Cc: Geral

Re: [PATCH v9 0/5] mainline Protonic boards

2020-07-12 Thread Shawn Guo
On Wed, Jul 01, 2020 at 03:03:25PM +0200, Oleksij Rempel wrote: > Oleksij Rempel (5): > dt-bindings: arm: fsl: add different Protonic boards > ARM: dts: add Protonic PRTI6Q board > ARM: dts: add Protonic WD2 board > ARM: dts: add Protonic VT7 board > ARM: dts: add Protonic RVT board Appl

Re: [PATCH 1/2] cpufreq: tegra186: Fix initial frequency

2020-07-12 Thread Viresh Kumar
On 12-07-20, 11:06, Jon Hunter wrote: > Commit 6cc3d0e9a097 ("cpufreq: tegra186: add > CPUFREQ_NEED_INITIAL_FREQ_CHECK flag") fixed CPUFREQ support for > Tegra186 but as a consequence the following warnings are now seen on > boot ... > > cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 0

Re: [PATCH 1/2] ARM: imx: Remove imx_add_imx_dma() unused irq_err argument

2020-07-12 Thread Shawn Guo
On Wed, Jul 01, 2020 at 05:10:39PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > No callers of imx_add_imx_dma() need an error IRQ, so they supply 0 as > "irq_err", which means we register a resource of IRQ 0, which is invalid > and causes a warning if used. > > Remove the "irq_err" argu

Re: [PATCH 2/2] cpufreq: tegra186: Simplify probe return path

2020-07-12 Thread Viresh Kumar
On 12-07-20, 11:06, Jon Hunter wrote: > We always put the reference to BPMP device on exit of the Tegra186 > CPUFREQ driver and so there is no need to have separate exit paths > for success and failure. Therefore, simplify the probe return path > in the Tegra186 CPUFREQ driver by combining the succ

<    1   2   3   4   5   6   >