Re: [PATCH V6 1/7] iio: adc: Convert the QCOM SPMI ADC bindings to .yaml format

2020-05-31 Thread Jonathan Cameron
On Thu, 28 May 2020 22:24:23 +0530 Jishnu Prakash wrote: > Convert the adc bindings from .txt to .yaml format. > > Signed-off-by: Jishnu Prakash > Reviewed-by: Amit Kucheria > Reviewed-by: Rob Herring > Acked-by: Linus Walleij Jishnu, Patch is fine, but I'd like to have seen a cover letter

5.7-rc0: kswapd eats cpu during a disk test?!

2020-05-31 Thread Pavel Machek
Hi! This is simple cat /dev/sda > /dev/zero... on thinkpad x60 (x86-32), with spinning rust. PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 1000 root 20 0 0 0 0 R 53.3 0.0 57:34.93 kswapd0 27897 root 20 06976580536

Re: [PATCH] iio: accel: mxc4005: add support for mxc6655

2020-05-31 Thread Jonathan Cameron
On Fri, 29 May 2020 22:05:49 +0200 Christian Oder wrote: > The mxc6655 is fully working with the existing mxc4005 driver. > Add support for it. > > Signed-off-by: Christian Oder One query on ACPI bindings. What is there already may be missleading :( > --- > drivers/iio/accel/mxc4005.c | 2

Re: [PATCH v2 4/4] dt-bindings: iio: scd30: add device binding file

2020-05-31 Thread Jonathan Cameron
On Sat, 30 May 2020 23:36:30 +0200 Tomasz Duszynski wrote: > Add SCD30 sensor binding file. > > Signed-off-by: Tomasz Duszynski > --- > .../iio/chemical/sensirion,scd30.yaml | 68 +++ > MAINTAINERS | 1 + > 2 files changed, 69

Re: [PATCH v2 1/4] iio: chemical: scd30: add core driver

2020-05-31 Thread Jonathan Cameron
On Sun, 31 May 2020 10:58:40 +0100 Jonathan Cameron wrote: > On Sat, 30 May 2020 23:36:27 +0200 > Tomasz Duszynski wrote: > > > Add Sensirion SCD30 carbon dioxide core driver. > > > > Signed-off-by: Tomasz Duszynski > > Hi Tomasz > > A few things inline. Includes the alignment issue on

Re: [PATCH v2 3/4] iio: chemical: scd30: add serial interface driver

2020-05-31 Thread Jonathan Cameron
On Sat, 30 May 2020 23:36:29 +0200 Tomasz Duszynski wrote: > Add serial interface driver for the SCD30 sensor. > > Signed-off-by: Tomasz Duszynski Ah Now I see why you had those extra elements in the iio_priv structure. Hmm. serdev_device callbacks using the top level device drvdata is a bit

RE: [PATCH] habanalabs: correctly cast u64 to void*

2020-05-31 Thread Omer Shpigelman
On Sun, May 31, 2020 at 12:16 PM, Oded Gabbay wrote: > Use the u64_to_user_ptr(x) kernel macro to correctly cast u64 to void* > > Reported-by: kbuild test robot > Signed-off-by: Oded Gabbay Reviewed-by: Omer Shpigelman

[PATCH] kbuild: merge two 'ifdef CONFIG_TRIM_UNUSED_KSYMS' blocks

2020-05-31 Thread Masahiro Yamada
This hunk has two 'ifdef CONFIG_TRIM_UNUSED_KSYMS ... endif' blocks with no other code interleaved. Merge them. Signed-off-by: Masahiro Yamada --- Makefile | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index b856f84e28c9..44921d9cf3cf

[PATCH] MIPS: ralink: bootrom: mark a function as __init to save some memory

2020-05-31 Thread Christophe JAILLET
'bootrom_setup()' is only called via 'postcore_initcall'. It can be marked as __init to save a few bytes of memory. Signed-off-by: Christophe JAILLET --- arch/mips/ralink/bootrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/ralink/bootrom.c

Re: [PATCH v6 3/6] irqchip: RISC-V per-HART local interrupt controller driver

2020-05-31 Thread Anup Patel
On Sun, May 31, 2020 at 3:03 PM Marc Zyngier wrote: > > On 2020-05-31 06:36, Anup Patel wrote: > > On Sat, May 30, 2020 at 5:31 PM Marc Zyngier wrote: > > [...] > > >> > plic_set_threshold(handler, PLIC_DISABLE_THRESHOLD); > >> > >> Why do you need to both disable the interrupt *and*

Re: [PATCH v2 2/4] iio: chemical: scd30: add I2C interface driver

2020-05-31 Thread Jonathan Cameron
On Sat, 30 May 2020 23:36:28 +0200 Tomasz Duszynski wrote: > Add I2C interface driver for the SCD30 sensor. > > Signed-off-by: Tomasz Duszynski Looks good to me. J > --- > MAINTAINERS | 1 + > drivers/iio/chemical/Kconfig | 11 +++ > drivers/iio/chemical/Makefile

Re: [PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-31 Thread John Paul Adrian Glaubitz
On 5/31/20 11:54 AM, John Paul Adrian Glaubitz wrote: > Hi Geert! > > On 5/31/20 11:52 AM, Geert Uytterhoeven wrote: >> As this is the 64-bit variant, I think this single move should be >> replaced by a double move: >> >>"mov #0,%R1\n\t" \ >>"mov #0,%S1\n\t" \ >> >> Same for the

Re: [PATCH v2 1/4] iio: chemical: scd30: add core driver

2020-05-31 Thread Jonathan Cameron
On Sat, 30 May 2020 23:36:27 +0200 Tomasz Duszynski wrote: > Add Sensirion SCD30 carbon dioxide core driver. > > Signed-off-by: Tomasz Duszynski Hi Tomasz A few things inline. Includes the alignment issue on x86_32 that I fell into whilst trying to fix timestamp alignment issues.

[PATCH] RISC-V: Don't mark init section as non-executable

2020-05-31 Thread Anup Patel
The head text section (i.e. _start, secondary_start_sbi, etc) and the init section fall under same page table level-1 mapping. Currently, the runtime CPU hotplug is broken because we are marking init section as non-executable which in-turn marks head text section as non-executable. Further

Re: [PATCH net-next] mlx5: Restore err assignment in mlx5_mdev_init

2020-05-31 Thread Leon Romanovsky
On Fri, May 29, 2020 at 10:54:48PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/net/ethernet/mellanox/mlx5/core/main.c:1278:6: warning: variable > 'err' is used uninitialized whenever 'if' condition is true > [-Wsometimes-uninitialized] > if (!priv->dbg_root) { >

Re: [PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-31 Thread John Paul Adrian Glaubitz
Hi Geert! On 5/31/20 11:52 AM, Geert Uytterhoeven wrote: > As this is the 64-bit variant, I think this single move should be > replaced by a double move: > >"mov #0,%R1\n\t" \ >"mov #0,%S1\n\t" \ > > Same for the big endian version below. > > Disclaimer: uncompiled, untested,

[PATCH v4] regmap: fix alignment issue

2020-05-31 Thread Jens Thoms Toerring
The assembly and disassembly of data to be sent to or received from a device invoke functions regmap_format_XX() and regmap_parse_XX() that extract or insert data items from or into a buffer, using assignments. In some cases the functions are called with a buffer pointer with an odd address. On

Re: [PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-31 Thread Geert Uytterhoeven
Hi Adrian, On Fri, May 29, 2020 at 7:46 PM John Paul Adrian Glaubitz wrote: > Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails > > ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] > undefined! > > with on SH since the kernel misses a 64-bit

[PATCH] ARM: smp_twd: mark a function as __init to save some memory

2020-05-31 Thread Christophe JAILLET
'twd_clk_init()' is only called via 'core_initcall'. It can be marked as __init to save a few bytes of memory. Signed-off-by: Christophe JAILLET --- For the records, this function has been introduced in commit 4fd7f9b12810 ("ARM: 7212/1: smp_twd: reconfigure clockevents after cpufreq change")

Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread Markus Elfring
> If gk20a_clk_ctor() never returns such an error code, > we may need not to release this clock object. Would you like to achieve complete exception handling also for this function implementation? Regards, Markus

[PATCH 2/2] media: atomisp comment an unused code

2020-05-31 Thread Mauro Carvalho Chehab
There's a different table for some BYT variants that depend on something inside a FIXME ifdef. Place this also inside it, just to shut up a clang-11 warning. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 8

[PATCH 1/2] media: atomisp: get rid of a left-over wrapper function

2020-05-31 Thread Mauro Carvalho Chehab
The abstraction layer for kvfree() was removed, but there is still a left-over code there. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/sh_css.c | 8 1 file changed, 8 deletions(-) diff --git

[PATCH] ARM: riscpc: mark a function as __init to save some memory

2020-05-31 Thread Christophe JAILLET
'ecard_bus_init()' is only called via 'postcore_initcall'. It can be marked as __init to save a few bytes of memory. Signed-off-by: Christophe JAILLET --- arch/arm/mach-rpc/ecard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rpc/ecard.c

Re: [PATCH v6 3/6] irqchip: RISC-V per-HART local interrupt controller driver

2020-05-31 Thread Marc Zyngier
On 2020-05-31 06:36, Anup Patel wrote: On Sat, May 30, 2020 at 5:31 PM Marc Zyngier wrote: [...] > plic_set_threshold(handler, PLIC_DISABLE_THRESHOLD); Why do you need to both disable the interrupt *and* change the priority threshold? It seems to be that one of them should be

Re: arm64: Register modification during syscall entry/exit stop

2020-05-31 Thread Will Deacon
On Wed, May 27, 2020 at 11:19:29AM +0100, Dave Martin wrote: > On Wed, May 27, 2020 at 10:55:29AM +0100, Will Deacon wrote: > > On Sun, May 24, 2020 at 02:56:35AM -0400, Keno Fischer wrote: > > > Just ran into this issue again, with what I think may be most compelling > > > example yet why this is

Re: PANIC: double fault in fixup_bad_iret

2020-05-31 Thread Dmitry Vyukov
On Fri, May 29, 2020 at 7:11 PM Peter Zijlstra wrote: > > Like with KCSAN, we should blanket kill KASAN/UBSAN and friends (at the > > very least in arch/x86/) until they get that function attribute stuff > > sorted. > > Something like so. > > --- > diff --git a/arch/x86/Makefile

[PATCH 3/4 v4] exfat: add boot region verification

2020-05-31 Thread Tetsuhiro Kohada
Add Boot-Regions verification specified in exFAT specification. Note that the checksum type is strongly related to the raw structure, so the'u32 'type is used to clarify the number of bits. Signed-off-by: Tetsuhiro Kohada --- Changes in v2: - rebase with patch 'optimize dir-cache' applied -

Re: [PATCH v2 2/2] crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()

2020-05-31 Thread Michael S. Tsirkin
On Tue, May 26, 2020 at 02:11:37PM +, Sasha Levin wrote: > <20200123101000.GB24255@Red> > References: <20200526031956.1897-3-longpe...@huawei.com> > <20200123101000.GB24255@Red> > > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag >

[PATCH] habanalabs: correctly cast u64 to void*

2020-05-31 Thread Oded Gabbay
Use the u64_to_user_ptr(x) kernel macro to correctly cast u64 to void* Reported-by: kbuild test robot Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/command_submission.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/habanalabs/command_submission.c

Re: [PATCH 5.6 086/126] virtio-balloon: Revert "virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM"

2020-05-31 Thread Michael S. Tsirkin
On Tue, May 26, 2020 at 08:53:43PM +0200, Greg Kroah-Hartman wrote: > From: Michael S. Tsirkin > > [ Upstream commit 835a6a649d0dd1b1f46759eb60fff2f63ed253a7 ] > > This reverts commit 5a6b4cc5b7a1892a8d7f63d6cbac6e0ae2a9d031. > > It has been queued properly in the akpm tree, this version is

Re: Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread dinghao . liu
> > I just found that clk is referenced by pclk in this function. When clk is > > freed, > > pclk will be allocated in gm20b_clk_new_speedo0(). Thus we should not > > release clk > > in this function and there is no bug here. > > Can there be a need to release a clock object after a failed

Re: [PATCH RFC] KVM: arm64: Sidestep stage2_unmap_vm() on vcpu reset when S2FWB is supported

2020-05-31 Thread Alexandru Elisei
Hi Marc, On 5/30/20 5:31 PM, Marc Zyngier wrote: > Hi Alex, > > On 2020-05-30 11:46, Alexandru Elisei wrote: >> Hi, > > [...] > diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c index 48d0ec44ad77..e6378162cdef 100644 --- a/virt/kvm/arm/arm.c +++ b/virt/kvm/arm/arm.c

Re: [PATCH] nvme-tcp: constify static struct blk_mq_ops

2020-05-31 Thread Max Gurtovoy
Looks good, Reviewed-by: Max Gurtovoy

Re: [PATCH] staging: gasket: Convert get_user_pages*() --> pin_user_pages*()

2020-05-31 Thread Dan Carpenter
On Sun, May 31, 2020 at 12:53:11PM +0530, Souptick Joarder wrote: > In 2019, we introduced pin_user_pages*() and now we are converting > get_user_pages*() to the new API as appropriate. [1] & [2] could > be referred for more information. > > [1] Documentation/core-api/pin_user_pages.rst > > [2]

Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread Markus Elfring
> I just found that clk is referenced by pclk in this function. When clk is > freed, > pclk will be allocated in gm20b_clk_new_speedo0(). Thus we should not release > clk > in this function and there is no bug here. Can there be a need to release a clock object after a failed gk20a_clk_ctor()

Re: Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread dinghao . liu
> > > For security, I will release this pointer only on error paths in this > > function. > > Do you tend to release objects (which are referenced by pointers)? > I just found that clk is referenced by pclk in this function. When clk is freed, pclk will be allocated in

[PATCH] kbuild: force to build vmlinux if CONFIG_MODVERSION=y

2020-05-31 Thread Masahiro Yamada
This code does not work as stated in the comment. $(CONFIG_MODVERSIONS) is always empty because it is expanded before include/config/auto.conf is included. Hence, 'make modules' with CONFIG_MODVERSION=y cannot record the version CRCs. This has been broken since 2003, commit ("kbuild: Enable

Re: [PATCH 0/4] Mac IOP driver fixes

2020-05-31 Thread Geert Uytterhoeven
Hi Finn, On Sun, May 31, 2020 at 1:16 AM Finn Thain wrote: > This patch series has several bug fixes for the IOP driver and some > improvements to the debug level log messages. Thanks for your series! > Geert, please consider pushing these fixes for v5.8, if not the > whole series. I'm afraid

Re: [PATCH 8/8] macintosh/adb-iop: Implement SRQ autopolling

2020-05-31 Thread Geert Uytterhoeven
Hi Finn, On Sun, May 31, 2020 at 1:20 AM Finn Thain wrote: > The adb_driver.autopoll method is needed during ADB bus scan and device > address assignment. Implement this method so that the IOP's list of > device addresses can be updated. When the list is empty, disable SRQ > autopolling. > > Cc:

Re: drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread Markus Elfring
> It's possible that we expect an usable clk pointer, though I could not find > the exact usage yet. I am curious if another developer would like to add helpful background information. > For security, I will release this pointer only on error paths in this > function. Do you tend to release

Re: The invitation need your response

2020-05-31 Thread Olusegun Ebrima
Greetings, With due respect to your personality and much sincerity of this purpose, I make this contact with you believing that you can be of great assistance to me. I'm Mr. Olusegun Ebrima, from Burkina Faso, I'm the Chairman of FOREIGN PAYMENTS CONTRACT AWARD COMMITTEE and also I currently hold

I.T. X : *nix + Direct 3D is the next Amiga.

2020-05-31 Thread Ywe Cærlyn
With the event of Direct 3D coming to *nix, something I really asked about with this aswell, and really goes back to 3.D. Scene ventures in 9x, https://www.youtube.com/watch?v=IsW-YO0REVc Everything is readied on this chan, with the 3.D. Scene background! *nix + Direct 3D is the next Amiga!

Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread dinghao . liu
> > > It's the same when gm20b_clk_new() returns from elsewhere following this > > call. > > I suggest to reconsider the interpretation of the software situation once > more. > Can it be that the allocated clock object should be kept usable even after > a successful return from this function?

Re: [PATCH] drm/qxl: Replace deprecated function in qxl_display

2020-05-31 Thread Sidong Yang
On Sun, May 24, 2020 at 07:42:25AM +1000, David Airlie wrote: > On Sun, May 24, 2020 at 2:02 AM Sidong Yang wrote: > > > > Hi, Dave. > > > > I'm a newbie kernel developer interested in qxl driver. And I want to > > participate in > > contributing for QXL module. > > I wrote some simple patch for

Re: [GIT PULL] sh: remove sh5 support

2020-05-31 Thread John Paul Adrian Glaubitz
On 5/31/20 5:20 AM, Rob Landley wrote: > On 5/30/20 3:08 AM, John Paul Adrian Glaubitz wrote: >> On 5/29/20 7:53 PM, Rich Felker wrote: >>> Frustratingly, I _still_ don't have an official tree on kernel.org for >>> the purpose of being the canonical place for linux-next to pull from, >>> due to

Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

2020-05-31 Thread Markus Elfring
> When gk20a_clk_ctor() returns an error code, pointer "clk" > should be released. Such an information is reasonable. > It's the same when gm20b_clk_new() returns from elsewhere following this call. I suggest to reconsider the interpretation of the software situation once more. Can it be that

[PATCH] bloat-o-meter: Support comparing library archives

2020-05-31 Thread Nikolay Borisov
Library archives (.a) usually contain multiple object files so their output of nm --size-sort contains lines like: 03a8 t run_test extent-map-tests.o: bloat-o-meter currently doesn't handle them which results in errors when calling .split() on them. Fix this by simply ignoring

[PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

2020-05-31 Thread Christophe JAILLET
Commit 6d33ee7a0534 ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration") has turned a 'pinctrl_register()' into 'devm_pinctrl_register()' in 'pxa2xx_pinctrl_init()'. However, the corresponding 'pinctrl_unregister()' call in 'pxa2xx_pinctrl_exit()' has not been removed. This is

Red Hat Enterprise Linux 8 on Supercomputer Fugaku

2020-05-31 Thread Ishida Takashi
Hello everyone, Outline of the Development of the Supercomputer Fugaku > OS Red Hat Enterprise Linux 8 ON Supercomputer Fugaku https://www.r-ccs.riken.jp/en/overview/aboutus https://www.r-ccs.riken.jp/en/ https://www.r-ccs.riken.jp/en/postk/project/outline Programming Language and Library

Re: [PATCH] iommu/amd: Fix event counter availability check

2020-05-31 Thread Alexander Monakov
Hi, Adding Shuah Khan to Cc: I've noticed you've seen this issue on Ryzen 2400GE; can you have a look at the patch? Would be nice to know if it fixes the problem for you too. Thanks. Alexander On Fri, 29 May 2020, Alexander Monakov wrote: > The driver performs an extra check if the IOMMU's

Re: Re: [PATCH v2] i2c: imx-lpi2c: Fix runtime PM imbalance on error in lpi2c_imx_master_enable()

2020-05-31 Thread dinghao . liu
Hi, Markus, > * How do you think about to replace the word “pairing” by “corresponding”? > > * Will it be helpful to add an imperative wording? > >

[PATCH v8 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-05-31 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +-- 1 file changed, 306 insertions(+), 23 deletions(-) diff --git

[PATCH v8 6/7] i3c: master: sysfs key for acquire bus

2020-05-31 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index de3cb39df9ff..17c0c9a6099d 100644 ---

[PATCH] staging: gasket: Convert get_user_pages*() --> pin_user_pages*()

2020-05-31 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. [1] Documentation/core-api/pin_user_pages.rst [2] "Explicit pinning of user-space pages": https://lwn.net/Articles/807108/

[PATCH v8 5/7] i3c: master: add defslvs processing

2020-05-31 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 -- include/linux/i3c/master.h | 7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/i3c/master.c

[PATCH v8 4/7] i3c: master: add mastership handover support

2020-05-31 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 176 +++-- include/linux/i3c/master.h | 6 ++ 2 files changed, 173 insertions(+), 9 deletions(-) diff --git a/drivers/i3c/master.c

[PATCH v8 2/7] i3c: master: use i3c_master_register only for main master

2020-05-31 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 74 +---

[PATCH v8 3/7] i3c: master: add i3c_secondary_master_register

2020-05-31 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 - include/linux/i3c/master.h | 3 + 2 files changed, 156 insertions(+), 1 deletion(-) diff --git

Re: [PATCHSET v5 0/12] Add support for async buffered reads

2020-05-31 Thread Sedat Dilek
On Sun, May 31, 2020 at 9:04 AM Sedat Dilek wrote: > > On Sun, May 31, 2020 at 3:57 AM Jens Axboe wrote: > > > > On 5/30/20 12:57 PM, Sedat Dilek wrote: > > > Here are the numbers with your patchset: > > > > > > # cat systemd-analyze-time_5.7.0-rc7-4-amd64-clang_2nd-try.txt > > > Startup

[PATCH v8 1/7] i3c: master: master initialization flow document

2020-05-31 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst| 1 + .../i3c/master-initialization-flow.rst| 187 ++ 2 files changed, 188 insertions(+)

[PATCH v8 0/7] I3C mastership handover support

2020-05-31 Thread Parshuram Thombare
Main changes between v7 and v8 are: - Document format changed from table to DOT diagram - Appropriate names for few functions - Moved mastership request process entirely to the driver - Reuse of i3c_master_add_i3c_dev_locked in core defslvs processing Main changes between v6 and v7 are: - Added

RE: [PATCH v2 1/5] scsi: ufs-mediatek: Fix imprecise waiting time for ref-clk control

2020-05-31 Thread Avri Altman
> > Currently ref-clk control timeout is implemented by Jiffies. However > jiffies is not accurate enough thus "false timeout" may happen. > > Use more accurate delay mechanism instead, for example, ktime. > > Signed-off-by: Stanley Chu > Reviewed-by: Andy Teng Reviewed-by: Avri Altman >

Re: [PATCH 1/2] mm/gup: introduce pin_user_pages_locked()

2020-05-31 Thread Souptick Joarder
On Sun, May 31, 2020 at 12:34 PM Souptick Joarder wrote: > > On Thu, May 28, 2020 at 4:02 AM John Hubbard wrote: > > > > Introduce pin_user_pages_locked(), which is nearly identical to > > get_user_pages_locked() except that it sets FOLL_PIN and rejects > > FOLL_GET. Forget to ask, is it fine

Re: [PATCH 1/2] docs: mm/gup: pin_user_pages.rst: add a "case 5"

2020-05-31 Thread Souptick Joarder
On Sat, May 30, 2020 at 5:13 AM John Hubbard wrote: > > There are four cases listed in pin_user_pages.rst. These are > intended to help developers figure out whether to use > get_user_pages*(), or pin_user_pages*(). However, the four cases > do not cover all the situations. For example,

Re: [PATCH v2] i2c: imx-lpi2c: Fix runtime PM imbalance on error in lpi2c_imx_master_enable()

2020-05-31 Thread Markus Elfring
> pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter balanced. * How do you think about to replace the word “pairing” by “corresponding”? * Will it be helpful to

Re: [PATCH 1/2] mm/gup: introduce pin_user_pages_locked()

2020-05-31 Thread Souptick Joarder
On Thu, May 28, 2020 at 4:02 AM John Hubbard wrote: > > Introduce pin_user_pages_locked(), which is nearly identical to > get_user_pages_locked() except that it sets FOLL_PIN and rejects > FOLL_GET. > > Signed-off-by: John Hubbard > --- > include/linux/mm.h | 2 ++ > mm/gup.c | 30

Re: [PATCH] mm/gup: documentation fix for pin_user_pages*() APIs

2020-05-31 Thread Souptick Joarder
On Fri, May 29, 2020 at 2:41 PM David Hildenbrand wrote: > > On 29.05.20 10:45, John Hubbard wrote: > > All of the pin_user_pages*() API calls will cause pages to be > > dma-pinned. As such, they are all suitable for either DMA, RDMA, > > and/or Direct IO. The documentation should say so, but it

Re: [PATCH] drivers: usb: core: driver: fixed 80 line character length issue

2020-05-31 Thread Greg KH
On Sun, May 31, 2020 at 07:20:06AM +0530, Lokesh Chebrolu wrote: > From: lokeshch007 This has to match the s-o-b line > > Fixed a coding style issue What issue? > > Signed-off-by: Lokesh Chebrolu > --- > drivers/usb/core/driver.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)

Re: memory leak in usb_copy_descriptors

2020-05-31 Thread Greg KH
On Sat, May 30, 2020 at 06:25:02PM +, Kyungtae Kim wrote: > We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version > of syzkaller) > > kernel config: https://kt0755.github.io/etc/config_v5.6.11 > > A USB descriptor held by fs_descriotors in usb_function leaked. > >

Re: memory leak in hidg_set_alt

2020-05-31 Thread Greg KH
On Sat, May 30, 2020 at 05:18:06PM +, Kyungtae Kim wrote: > We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version > of syzkaller) > > kernel config: https://kt0755.github.io/etc/config_v5.6.11 > > An usb_request instance allocated for report in hidg_set_alt() leaked. > >

Re: [PATCH 10/19] perf ftrace: add support for trace option funcgraph-tail

2020-05-31 Thread Namhyung Kim
On Thu, May 21, 2020 at 6:05 AM Arnaldo Carvalho de Melo wrote: > > Em Sun, May 10, 2020 at 11:06:19PM +0800, Changbin Du escreveu: > > This adds an option '--funcgraph-tail' for function graph tracer. > > And I think we should make these available in a compact way, as Intel PT > has, i.e.

Re: [PATCH] mtd: spi-nor: fix 4-byte opcode support for w25q256

2020-05-31 Thread Tudor.Ambarus
On Wednesday, April 15, 2020 4:48:30 PM EEST Mantas Pucka wrote: > There are 2 different chips (w25q256fv and w25q256jv) that share > the same JEDEC ID. Only w25q256jv fully supports 4-byte opcodes. > Use SFDP header version to differentiate between them. > > Signed-off-by: Mantas Pucka > --- >

Re: [PATCH v4 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-05-31 Thread kbuild test robot
. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sumit-Garg/kdb-Improve-console-handling/20200531-075431 base: https://git.kernel.org/pub/scm/linux/kernel

Re: [PATCH 08/19] perf ftrace: add option -l/--long-info to show more info

2020-05-31 Thread Namhyung Kim
On Thu, May 21, 2020 at 6:03 AM Arnaldo Carvalho de Melo wrote: > > Em Sun, May 10, 2020 at 11:06:17PM +0800, Changbin Du escreveu: > > Sometimes we want ftrace display more and longer information about trace. > > Humm, -v? Or that would bring too much stuff from other parts of perf? > I guess

<    1   2   3   4   5