[PATCH 2/5] Add manpages for move_mount(2) and open_tree(2)

2020-08-07 Thread David Howells
Add manual pages to document the move_mount and open_tree() system calls. Signed-off-by: David Howells --- man2/move_mount.2 | 275 + 1 file changed, 275 insertions(+) create mode 100644 man2/move_mount.2 diff --git a/man2/move_mount.2

[tip:locking/urgent] BUILD SUCCESS 0cd39f4600ed4de859383018eb10f0f724900e1b

2020-08-07 Thread kernel test robot
randconfig-a002-20200806 i386 randconfig-a003-20200806 i386 randconfig-a006-20200806 i386 randconfig-a005-20200807 i386 randconfig-a004-20200807 i386 randconfig-a001-20200807 i386 randconfig-a002

Re: [PATCH] kconfig qconf: Add grey background for hidden options

2020-08-07 Thread Masahiro Yamada
On Wed, Jul 8, 2020 at 10:30 PM Maxime Chretien wrote: > > This is useful to see which configuration parameters can be edited > or not when "Show All Options" is enabled. > > Signed-off-by: Maxime Chretien > --- > scripts/kconfig/qconf.cc | 7 +++ > scripts/kconfig/qconf.h | 4 > 2

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread luca abeni
On Fri, 7 Aug 2020 15:43:53 +0200 Juri Lelli wrote: > On 07/08/20 15:28, luca abeni wrote: > > Hi Juri, > > > > On Fri, 7 Aug 2020 11:56:04 +0200 > > Juri Lelli wrote: > > > > > Starting deadline server for lower priority classes right away > > > when first task is enqueued might break

[PATCH v1] MIPS: uasm: false warning on use of uasm_i_lui()

2020-08-07 Thread Jim Quinlan
Currently, the example uasm code uasm_i_lui(p, tmp, 0xa000); issues a warning at Linux boot when the code is "assembled". This is because the "lui" instruction is defined by the macro "Ip_u1s2(_lui)" -- I believe it should be Ip_u1u2(_lui) -- and its definition is associated with the

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread luca abeni
Hi Peter, On Fri, 7 Aug 2020 12:46:18 +0200 pet...@infradead.org wrote: > On Fri, Aug 07, 2020 at 11:56:04AM +0200, Juri Lelli wrote: > > Starting deadline server for lower priority classes right away when > > first task is enqueued might break guarantees, as tasks belonging to > > intermediate

Re: [PATCH 1/1] Drivers: hv: vmbus: Only notify Hyper-V for die events that are oops

2020-08-07 Thread Wei Liu
On Fri, Aug 07, 2020 at 11:06:47AM +0200, Vitaly Kuznetsov wrote: > Michael Kelley writes: > > > Hyper-V currently may be notified of a panic for any die event. But > > this results in false panic notifications for various user space traps > > that are die events. Fix this by ignoring die events

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread Juri Lelli
On 07/08/20 15:28, luca abeni wrote: > Hi Juri, > > On Fri, 7 Aug 2020 11:56:04 +0200 > Juri Lelli wrote: > > > Starting deadline server for lower priority classes right away when > > first task is enqueued might break guarantees > > Which guarantees are you thinking about, here? Response

RE: [EXT] [PATCH] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-08-07 Thread Shivamurthy Shastri (sshivamurthy)
Hi Thirumalesha, > > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Narasimhappa > --- > drivers/mtd/nand/spi/micron.c | 77 +++ > 1 file changed, 77 insertions(+) > > diff --git

Re: [PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-07 Thread Dan Murphy
Pavel On 8/4/20 2:55 PM, Dan Murphy wrote: Pavel On 7/28/20 8:39 AM, Dan Murphy wrote: Pavel On 7/22/20 10:31 AM, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver.  The LP5036/30/24/18/12/9 can

Re: [PATCH 02/18] spi: stm32-spi: defer probe for reset

2020-08-07 Thread Alain Volmat
On Wed, Aug 05, 2020 at 11:49:06AM +0100, Mark Brown wrote: > On Wed, Aug 05, 2020 at 09:01:57AM +0200, Alain Volmat wrote: > > > - rst = devm_reset_control_get_exclusive(>dev, NULL); > > - if (!IS_ERR(rst)) { > > + rst = devm_reset_control_get_optional_exclusive(>dev, NULL); > > + if

Re: splice: infinite busy loop lockup bug

2020-08-07 Thread Ming Lei
On Fri, Aug 07, 2020 at 01:38:54PM +0100, Al Viro wrote: > On Fri, Aug 07, 2020 at 01:27:27PM +0100, Al Viro wrote: > > On Fri, Aug 07, 2020 at 07:35:08PM +0900, Tetsuo Handa wrote: > > > syzbot is reporting hung task at pipe_release() [1], for for_each_bvec() > > > from > > > iterate_bvec() from

Re: [RFC PATCH v2 0/6] SCHED_DEADLINE server infrastructure

2020-08-07 Thread luca abeni
Hi Juri, On Fri, 7 Aug 2020 15:30:41 +0200 Juri Lelli wrote: [...] > > In the meanwhile, I have some questions/comments after a first quick > > look. > > > > If I understand well, the patchset does not apply deadline servers > > to FIFO and RR tasks, right? How does this patchset interact with

Re: [PATCH net] net: qcom/emac: Fix missing clk_disable_unprepare() in error path of emac_probe

2020-08-07 Thread Timur Tabi
On 8/6/20 8:54 PM, wanghai (M) wrote: Thanks for your suggestion. May I fix it like this? Yes, this is what I had in mind. Thanks. Acked-by: Timur Tabi

Re: [RFC PATCH 0/8] fsdax: introduce FS query interface to support reflink

2020-08-07 Thread Matthew Wilcox
On Fri, Aug 07, 2020 at 09:13:28PM +0800, Shiyang Ruan wrote: > This patchset is a try to resolve the problem of tracking shared page > for fsdax. > > Instead of per-page tracking method, this patchset introduces a query > interface: get_shared_files(), which is implemented by each FS, to >

Re: [PATCH 1/2 v2] rseq/membarrier: add MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU

2020-08-07 Thread peterz
On Thu, Aug 06, 2020 at 10:05:43AM -0700, Peter Oskolkov wrote: > +#ifdef CONFIG_RSEQ > +static void membarrier_rseq_ipi(void *arg) > +{ > + if (current->mm != arg) /* Not our process. */ > + return; > + if (!current->rseq) /* RSEQ not set up for the current task/thread. */ >

RFC: How to adjust the trace pid?

2020-08-07 Thread Christian König
Hi everybody, in amdgpu we got the following issue which I'm seeking advise how to cleanly handle it. We have a bunch of trace points which are related to the VM subsystem and executed in either a work item, kthread or foreign process context. Now tracing the pid of the context which we are

[PATCH] drm/amdgpu: adjust the pid in the grab_id trace point

2020-08-07 Thread Christian König
Trace something useful instead of the pid of a kernel thread here. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h index

Re: [PATCH RFC v2 02/18] irq/dev-msi: Add support for a new DEV_MSI irq domain

2020-08-07 Thread Jason Gunthorpe
On Fri, Aug 07, 2020 at 02:38:31PM +0200, gre...@linuxfoundation.org wrote: > On Fri, Aug 07, 2020 at 09:06:50AM -0300, Jason Gunthorpe wrote: > > On Thu, Aug 06, 2020 at 10:21:11PM +0200, Thomas Gleixner wrote: > > > > > Optionally? Please tell the hardware folks to make this mandatory. We > > >

Re: [RFC PATCH v2 0/6] SCHED_DEADLINE server infrastructure

2020-08-07 Thread Juri Lelli
Hi Luca, On 07/08/20 15:16, luca abeni wrote: > Hi Juri, > > thanks for sharing the v2 patchset! > > In the next days I'll have a look at it, and try some tests... Thanks! > In the meanwhile, I have some questions/comments after a first quick > look. > > If I understand well, the patchset

Re: [PATCH RFC leds + net-next v4 0/2] Add support for LEDs on Marvell PHYs

2020-08-07 Thread Andrew Lunn
> > And no, I don't want phydev name there. > > Ummm. Can we get little more explanation on that? I fear that LED > device renaming will be tricky and phydev would work around that > nicely. Hi Pavel The phydev name is not particularly nice: !mdio-mux!mdio@1!switch@0!mdio:00

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread luca abeni
Hi Juri, On Fri, 7 Aug 2020 11:56:04 +0200 Juri Lelli wrote: > Starting deadline server for lower priority classes right away when > first task is enqueued might break guarantees Which guarantees are you thinking about, here? Response times of fixed priority tasks? If fixed priority tasks are

Re: [PATCH 2/5] spi: stm32: fix fifo threshold level in case of short transfer

2020-08-07 Thread Mark Brown
On Fri, Aug 07, 2020 at 03:21:22PM +0200, Alain Volmat wrote: > + /* data_packet should not exceed transfer length */ > + packet = (half_fifo > xfer_len) ? xfer_len : half_fifo; Please write normal conditional statements to improve legibility. signature.asc Description: PGP signature

[PATCH 1/5] spi: stm32h7: fix race condition at end of transfer

2020-08-07 Thread Alain Volmat
From: Antonio Borneo The caller of stm32_spi_transfer_one(), spi_transfer_one_message(), is waiting for us to call spi_finalize_current_transfer() and will eventually schedule a new transfer, if available. We should guarantee that the spi controller is really available before calling

[PATCH 3/5] spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate

2020-08-07 Thread Alain Volmat
From: Amelie Delaunay Fix spi->clk_rate when it is odd to the nearest lowest even value because minimum SPI divider is 2. Signed-off-by: Amelie Delaunay Signed-off-by: Alain Volmat --- drivers/spi/spi-stm32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 4/5] spi: stm32: fixes suspend/resume management

2020-08-07 Thread Alain Volmat
From: Amelie Delaunay This patch adds pinctrl power management, and reconfigure spi controller in case of resume. Fixes: 038ac869c9d2 ("spi: stm32: add runtime PM support") Signed-off-by: Amelie Delaunay Signed-off-by: Alain Volmat --- drivers/spi/spi-stm32.c | 27

[PATCH 2/5] spi: stm32: fix fifo threshold level in case of short transfer

2020-08-07 Thread Alain Volmat
From: Amelie Delaunay When transfer is shorter than half of the fifo, set the data packet size up to transfer size instead of up to half of the fifo. Check also that threshold is set at least to 1 data frame. Signed-off-by: Amelie Delaunay Signed-off-by: Alain Volmat ---

[PATCH 5/5] spi: stm32: always perform registers configuration prior to transfer

2020-08-07 Thread Alain Volmat
SPI registers content may have been lost upon suspend/resume sequence. So, always compute and apply the necessary configuration in stm32_spi_transfer_one_setup routine. Signed-off-by: Alain Volmat --- drivers/spi/spi-stm32.c | 42 +- 1 file changed, 17

[PATCH 0/5] spi: stm32: various driver fixes

2020-08-07 Thread Alain Volmat
This serie is a reduced version of the serie [spi: stm32: various driver enhancements] previously sent. Alain Volmat (1): spi: stm32: always perform registers configuration prior to transfer Amelie Delaunay (3): spi: stm32: fix fifo threshold level in case of short transfer spi: stm32: fix

[v2] i2c: mediatek: Fix i2c_spec_values description

2020-08-07 Thread matthias . bgg
From: Matthias Brugger The struct i2c_spec_values have it's members documented but is missing the starting '@', which leads to warings like: drivers/i2c/busses/i2c-mt65xx.c:267: warning: Function parameter or member 'min_low_ns' not described in 'i2c_spec_values' We also delete min_high_ns

Re: [PATCH 1/2] module: Correctly truncate sysfs sections output

2020-08-07 Thread Jessica Yu
+++ Kees Cook [06/08/20 23:35 -0700]: The only-root-readable /sys/module/$module/sections/$section files did not truncate their output to the available buffer size. While most paths into the kernfs read handlers end up using PAGE_SIZE buffers, it's possible to get there through other paths (e.g.

Re: [PATCH net 0/4] support multipacket broadcast message

2020-08-07 Thread Oleksij Rempel
On Fri, Aug 07, 2020 at 05:36:38PM +0800, Zhang Changzhong wrote: > Hi Oleksij, > > We have tested this j1939 stack according to SAE J1939-21. It works fine for > most cases, but when we test multipacket broadcast message function we found > the receiver can't receive those packets. > > You can

[RFC PATCH 4/8] fsdax: copy data before write

2020-08-07 Thread Shiyang Ruan
Add dax_copy_edges() into each dax actor functions to perform CoW. Signed-off-by: Shiyang Ruan --- fs/dax.c | 39 +++ 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index 308678c58d4d..65553e3f7602 100644 --- a/fs/dax.c +++

Re: [PATCH stable v4.9 v2] arm64: entry: Place an SB sequence following an ERET instruction

2020-08-07 Thread Greg KH
On Thu, Aug 06, 2020 at 01:00:54PM -0700, Florian Fainelli wrote: > > > On 7/20/2020 11:26 AM, Florian Fainelli wrote: > > On 7/20/20 6:04 AM, Greg KH wrote: > >> On Thu, Jul 09, 2020 at 12:50:23PM -0700, Florian Fainelli wrote: > >>> From: Will Deacon > >>> > >>> commit

Re: [PATCH v11 0/6] KASAN-KUnit Integration

2020-08-07 Thread Andrey Konovalov
On Wed, Aug 5, 2020 at 6:29 AM David Gow wrote: > > This patchset contains everything needed to integrate KASAN and KUnit. > > KUnit will be able to: > (1) Fail tests when an unexpected KASAN error occurs > (2) Pass tests when an expected KASAN error occurs > > Convert KASAN tests to KUnit with

[GIT PULL] Please pull powerpc/linux.git powerpc-5.9-1 tag

2020-08-07 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc updates for 5.9. Just one minor conflict, in a comment in drivers/misc/ocxl/config.c. Notable out of area changes: arch/m68k/include/asm/adb_iop.h # c66da95a39ec macintosh/adb-iop: Implement SRQ autopolling

[RFC PATCH 2/8] fsdax, mm: track files sharing dax page for memory-failure

2020-08-07 Thread Shiyang Ruan
When memory-failure occurs on a pmem device which contains a filesystem, we need to find out which files are in using, and then notify processes that are using these files to handle the error. The design of the track method is as follow: 1. dax_assocaite_entry() associates the owner's info to

[RFC PATCH 8/8] fs/xfs: support dedupe for fsdax

2020-08-07 Thread Shiyang Ruan
Use xfs_break_layouts() to break files' layouts when locking them. And call dax_file_range_compare() function to compare range for files both have DAX flag. Signed-off-by: Shiyang Ruan --- fs/xfs/xfs_reflink.c | 78 ++-- 1 file changed, 46 insertions(+),

[RFC PATCH 0/8] fsdax: introduce FS query interface to support reflink

2020-08-07 Thread Shiyang Ruan
This patchset is a try to resolve the problem of tracking shared page for fsdax. Instead of per-page tracking method, this patchset introduces a query interface: get_shared_files(), which is implemented by each FS, to obtain the owners of a shared page. It returns an owner list of this shared

[RFC PATCH 6/8] fsdax: dedup file range to use a compare function

2020-08-07 Thread Shiyang Ruan
With dax we cannot deal with readpage() etc. So, we create a funciton callback to perform the file data comparison and pass it to generic_remap_file_range_prep() so it can use iomap-based functions. This may not be the best way to solve this. Suggestions welcome. Signed-off-by: Goldwyn Rodrigues

[RFC PATCH 5/8] fsdax: replace mmap entry in case of CoW

2020-08-07 Thread Shiyang Ruan
We replace the existing entry to the newly allocated one in case of CoW. Also, we mark the entry as PAGECACHE_TAG_TOWRITE so writeback marks this entry as writeprotected. This helps us snapshots so new write pagefaults after snapshots trigger a CoW. Signed-off-by: Goldwyn Rodrigues

[RFC PATCH 3/8] fsdax: introduce dax_copy_edges() for COW

2020-08-07 Thread Shiyang Ruan
Add address output in dax_iomap_pfn() in order to perform a memcpy() in CoW case. Since this function both output address and pfn, rename it to dax_iomap_direct_access(). dax_copy_edges() is a helper functions performs a copy from one part of the device to another for data not page aligned.

[RFC PATCH 7/8] fs/xfs: handle CoW for fsdax write() path

2020-08-07 Thread Shiyang Ruan
In fsdax mode, WRITE and ZERO on a shared extent need CoW mechanism performed. After CoW, new extents needs to be remapped to the file. Signed-off-by: Shiyang Ruan --- fs/xfs/xfs_bmap_util.c | 6 +- fs/xfs/xfs_file.c | 10 +++--- fs/xfs/xfs_iomap.c | 3 ++- fs/xfs/xfs_iops.c

[RFC PATCH 1/8] fs: introduce get_shared_files() for dax

2020-08-07 Thread Shiyang Ruan
Under the mode of both dax and reflink on, one page may be shared by multiple files and offsets. In order to track them in memory-failure or other cases, we introduce this function by finding out who is sharing this block(the page) in a filesystem. It returns a list that contains all the owners,

Re: [Freedreno] [v1] drm/msm/dpu: Fix reservation failures in modeset

2020-08-07 Thread kalyan_t
On 2020-08-06 22:15, Rob Clark wrote: On Thu, Aug 6, 2020 at 7:46 AM wrote: On 2020-08-05 21:18, Rob Clark wrote: > On Wed, Aug 5, 2020 at 6:34 AM Kalyan Thota > wrote: >> >> In TEST_ONLY commit, rm global_state will duplicate the >> object and request for new reservations, once they pass >>

Re: [PATCH 09/10] mm/hugetlb: narrow the hugetlb_lock protection area during preparing huge page

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > set_hugetlb_cgroup_[rsvd] just manipulate page local data, which is not > necessary to be protected by hugetlb_lock. > > Let's take this out. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH 4.19] net/mlx5e: Don't support phys switch id if not in switchdev mode

2020-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2020 at 07:05:42PM -0700, Saeed Mahameed wrote: > From: Roi Dayan > > Support for phys switch id ndo added for representors and if > we do not have representors there is no need to support it. > Since each port return different switch id supporting this > block support for

Re: [PATCH v2] drm/qxl: don't take vga ports on rev5+

2020-08-07 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 12:55:01PM +0200, Gerd Hoffmann wrote: > qemu 5.0 introduces a new qxl hardware revision 5. Unlike revision 4 > (and below) the device doesn't switch back into vga compatibility mode > when someone touches the vga ports. So we don't have to reserve the > vga ports any

Re: [PATCH v11 3/6] KASAN: Port KASAN Tests to KUnit

2020-08-07 Thread Andrey Konovalov
On Wed, Aug 5, 2020 at 6:29 AM David Gow wrote: > > From: Patricia Alfonso > > Transfer all previous tests for KASAN to KUnit so they can be run > more easily. Using kunit_tool, developers can run these tests with their > other KUnit tests and see "pass" or "fail" with the appropriate KASAN >

Re: [RESEND PATCH] media: atomisp: Replace trace_printk by pr_info

2020-08-07 Thread Nicolas Boichat
On Fri, Aug 7, 2020 at 4:04 PM Mauro Carvalho Chehab wrote: > > Em Fri, 7 Aug 2020 14:51:12 +0800 > Nicolas Boichat escreveu: > > > On Fri, Aug 7, 2020 at 2:28 PM Greg Kroah-Hartman > > wrote: > > > > > > On Fri, Aug 07, 2020 at 09:50:23AM +0800, Nicolas Boichat wrote: > > > > On Fri, Jul 24,

[v2] drm/msm/dpu: Fix reservation failures in modeset

2020-08-07 Thread Kalyan Thota
In TEST_ONLY commit, rm global_state will duplicate the object and request for new reservations, once they pass then the new state will be swapped with the old and will be available for the Atomic Commit. This patch fixes some of missing links in the resource reservation sequence mentioned above.

Re: [PATCH 08/10] mm/hugetlb: return non-isolated page in the loop instead of break and check

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Function dequeue_huge_page_node_exact() iterates the free list and > return the first non-isolated one. > > Instead of break and check the loop variant, we could return in the loop > directly. This could reduce some redundant check. > > Signed-off-by:

Re: [PATCH] drm/virtio: fix unblank

2020-08-07 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 12:54:29PM +0200, Gerd Hoffmann wrote: > When going through a disable/enable cycle without changing the > framebuffer the optimization added by commit 3954ff10e06e ("drm/virtio: > skip set_scanout if framebuffer didn't change") causes the screen stay > blank. Add a bool to

Re: [PATCH 07/10] mm/hugetlb: a page from buddy is not on any list

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > The page allocated from buddy is not on any list, so just use list_add() > is enough. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > index

Re: [PATCH 1/2] mm/slub: Introduce two counters for the partial objects

2020-08-07 Thread Christopher Lameter
On Fri, 7 Aug 2020, Pekka Enberg wrote: > I think we can just default to the counters. After all, if I > understood correctly, we're talking about up to 100 ms time period > with IRQs disabled when count_partial() is called. As this is > triggerable from user space, that's a performance bug

Re: [PATCH 9/9] scsi: ufs: Properly release resources if a task is aborted successfully

2020-08-07 Thread Can Guo
Hi Markus, On 2020-08-07 17:33, Markus Elfring wrote: … To fix it, … I propose to replace this wording by the tag “Fixes”. … "mannually", … Please avoid a typo: … "manually", … Regards, Markus Thanks, will fix these in next version. Regards, Can Guo.

Re: [PATCH 06/10] mm/hugetlb: remove redundant huge_pte_alloc() in hugetlb_fault()

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Before proper processing, huge_pte_alloc() would be called > un-conditionally. It is not necessary to do this when ptep is NULL. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/mm/hugetlb.c

Re: [PATCH 05/10] mm/hugetlb: remove the redundant check on non_swap_entry()

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Migration and hwpoison entry is a subset of non_swap_entry(). > > Remove the redundant check on non_swap_entry(). > > Signed-off-by: Wei Yang Hmm, I have posted one patch to do the same thing, got reivewed by people.

Re: [PATCH 2/2 v2] rseq/selftests: test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU

2020-08-07 Thread Mathieu Desnoyers
- On Aug 6, 2020, at 8:27 PM, Boqun Feng boqun.f...@gmail.com wrote: > On Thu, Aug 06, 2020 at 10:05:44AM -0700, Peter Oskolkov wrote: >> Based on Google-internal RSEQ work done by >> Paul Turner and Andrew Hunter. >> >> This patch adds a selftest for

Re: [PATCH 04/10] mm/hugetlb: count file_region to be added when regions_needed != NULL

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > There are only two cases of function add_reservation_in_range() > > * count file_region and return the number in regions_needed > * do the real list operation without counting > > This means it is not necessary to have two parameters to classify

Re: [PATCH 03/10] mm/hugetlb: use list_splice to merge two list at once

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Instead of add allocated file_region one by one to region_cache, we > could use list_splice to merge two list at once. > > Also we know the number of entries in the list, increase the number > directly. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c

Re: [PATCH 0/2] irqchip: irq-mt58xx: Add mt58xx series interrupt

2020-08-07 Thread Mark-PK Tsai
From: Marc Zyngier > On 2020-08-06 15:58, Daniel Palmer wrote: > > Hi Mark-PK, > > > > On Thu, 6 Aug 2020 at 23:08, Mark-PK Tsai > > wrote: > >> > Do you know if it would be possible to confirm if they are > >> > the > >> > same thing? MediaTek bought MStar a few years ago so it seems likely

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread Juri Lelli
On 07/08/20 13:30, Daniel Bristot de Oliveira wrote: > On 8/7/20 12:46 PM, pet...@infradead.org wrote: > > On Fri, Aug 07, 2020 at 11:56:04AM +0200, Juri Lelli wrote: > >> Starting deadline server for lower priority classes right away when > >> first task is enqueued might break guarantees, as

Re: [PATCH 02/10] mm/hugetlb: make sure to get NULL when list is empty

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > list_first_entry() may not return NULL even when the list is empty. > > Let's make sure the behavior by using list_first_entry_or_null(), > otherwise it would corrupt the list. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c | 3 ++- > 1 file changed,

Re: [PATCH 01/10] mm/hugetlb: not necessary to coalesce regions recursively

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Per my understanding, we keep the regions ordered and would always > coalesce regions properly. So the task to keep this property is just > to coalesce its neighbour. > > Let's simplify this. > > Signed-off-by: Wei Yang > --- > mm/hugetlb.c | 6 +-

[PATCH 1/2] arm64: dts: ti: k3-j7200: Add HyperBus node

2020-08-07 Thread Vignesh Raghavendra
J7200 has a Flash SubSystem that has one OSPI and one HyperBus.. Add DT nodes for HyperBus controller for now. Signed-off-by: Vignesh Raghavendra --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 27 +++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 8 -- 2 files

[PATCH 0/2] arm64: dts: ti: k3-j7200: Add HyperFlash related nodes

2020-08-07 Thread Vignesh Raghavendra
This series adds HyperBus and HyperFlash nodes for TI's J7200 SoC Based on top of https://lore.kernel.org/linux-arm-kernel/20200723084628.19241-1-lokeshvu...@ti.com/ And earlier I2C DT patches: https://lore.kernel.org/linux-arm-kernel/20200730192600.1872-1-vigne...@ti.com/ Vignesh Raghavendra

[PATCH 2/2] arm64: dts: ti: k3-j7200-som-p0: Add HyperFlash node

2020-08-07 Thread Vignesh Raghavendra
J7200 SoM has a HyperFlash connected to HyperBus memory controller. But HyperBus is muxed with OSPI, therefore keep HyperBus node disabled. Bootloader will detect the mux and enable the node as required. Signed-off-by: Vignesh Raghavendra --- arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 36

Re: [PATCH] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()

2020-08-07 Thread Gerd Hoffmann
On Wed, Jul 22, 2020 at 01:18:51PM +0800, Xin He wrote: > Before setting shmem->pages to NULL, kfree() should > be called. > sg_free_table(shmem->pages); > + kfree(shmem->pages); > shmem->pages = NULL; Pushed to drm-misc-fixes.

Re: splice: infinite busy loop lockup bug

2020-08-07 Thread Al Viro
On Fri, Aug 07, 2020 at 01:27:27PM +0100, Al Viro wrote: > On Fri, Aug 07, 2020 at 07:35:08PM +0900, Tetsuo Handa wrote: > > syzbot is reporting hung task at pipe_release() [1], for for_each_bvec() > > from > > iterate_bvec() from iterate_all_kinds() from iov_iter_alignment() from > >

Re: [PATCH RFC v2 02/18] irq/dev-msi: Add support for a new DEV_MSI irq domain

2020-08-07 Thread gre...@linuxfoundation.org
On Fri, Aug 07, 2020 at 09:06:50AM -0300, Jason Gunthorpe wrote: > On Thu, Aug 06, 2020 at 10:21:11PM +0200, Thomas Gleixner wrote: > > > Optionally? Please tell the hardware folks to make this mandatory. We > > have enough pain with non maskable MSI interrupts already so introducing > > yet

Re: splice: infinite busy loop lockup bug

2020-08-07 Thread Tetsuo Handa
On 2020/08/07 21:27, Al Viro wrote: > On Fri, Aug 07, 2020 at 07:35:08PM +0900, Tetsuo Handa wrote: >> syzbot is reporting hung task at pipe_release() [1], for for_each_bvec() from >> iterate_bvec() from iterate_all_kinds() from iov_iter_alignment() from >> ext4_unaligned_io() from

Re: [PATCH] perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

2020-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2020 at 09:16:29AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 07, 2020 at 09:09:56AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Aug 07, 2020 at 09:08:24AM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Thu, Aug 06, 2020 at 09:43:57PM +0200, Jiri Olsa

drivers/video/fbdev/sstfb.c:337:23: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86cfccb66937dd6cbf26ed619958b9e587e6a115 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: s390-randconfig-s031-20200807 (attached

Re: [PATCH v2 net-next] net/tls: allow MSG_CMSG_COMPAT in sendmsg

2020-08-07 Thread Rouven Czerwinski
On Fri, 2020-08-07 at 10:26 +0200, Rouven Czerwinski wrote: > On Thu, 2020-08-06 at 11:46 -0700, Jakub Kicinski wrote: > > On Thu, 6 Aug 2020 08:49:06 +0200 Rouven Czerwinski wrote: > > > Trying to use ktls on a system with 32-bit userspace and 64-bit > > > kernel > > > results in a EOPNOTSUPP

Re: splice: infinite busy loop lockup bug

2020-08-07 Thread Al Viro
On Fri, Aug 07, 2020 at 07:35:08PM +0900, Tetsuo Handa wrote: > syzbot is reporting hung task at pipe_release() [1], for for_each_bvec() from > iterate_bvec() from iterate_all_kinds() from iov_iter_alignment() from > ext4_unaligned_io() from ext4_dio_write_iter() from ext4_file_write_iter() >

Re: [PATCH v3 1/3] driver core: Revert default driver_deferred_probe_timeout value to 0

2020-08-07 Thread Thierry Reding
On Fri, Aug 07, 2020 at 01:02:44PM +0200, Thierry Reding wrote: > On Thu, Aug 06, 2020 at 07:09:16PM -0700, John Stultz wrote: > > On Thu, Aug 6, 2020 at 6:52 AM Thierry Reding > > wrote: > > > > > > On Wed, Apr 22, 2020 at 08:32:43PM +, John Stultz wrote: > > > > This patch addresses a

Re: [PATCH RFC v2 00/18] Add VFIO mediated device support and DEV-MSI support for the idxd driver

2020-08-07 Thread Jason Gunthorpe
On Wed, Aug 05, 2020 at 07:22:58PM -0600, Alex Williamson wrote: > If you see this as an abuse of the framework, then let's identify those > specific issues and come up with a better approach. As we've discussed > before, things like basic PCI config space emulation are acceptable > overhead and

KASAN: use-after-free Read in service_outstanding_interrupt

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7b4ea945 Revert "x86/mm/64: Do not sync vmalloc/ioremap ma.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=108adf3290 kernel

drivers/net/dsa/sja1105/sja1105_main.c:3418:38: warning: address of array 'match->compatible' will always evaluate to 'true'

2020-08-07 Thread kernel test robot
-r034-20200807 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project aa57cabae2fc5abc08ab3e17b45f2890fc7c9e42) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH] perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

2020-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2020 at 09:09:56AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 07, 2020 at 09:08:24AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Aug 06, 2020 at 09:43:57PM +0200, Jiri Olsa escreveu: > > > On Wed, Aug 05, 2020 at 10:29:37AM +0800, Jin Yao wrote: > > > > We

Re: [PATCH v3 3/7] x86/xen: drop tests for highmem in pv code

2020-08-07 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Juergen-Gross/Remove-32-bit-Xen-PV-guest-support/20200807-164058 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

[PATCH] dt-bindings: lpspi: Add missing boolean type for fsl,spi-only-use-cs1-sel

2020-08-07 Thread Geert Uytterhoeven
When running "make dt_binding_check" (even if restricted to an unrelated binding document using DT_SCHEMA_FILES=...): Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml: ignoring, error in schema: properties: fsl,spi-only-use-cs1-sel warning: no schema found in file:

fs/erofs/zdata.c:198:22: sparse: sparse: non size-preserving integer to pointer cast

2020-08-07 Thread kernel test robot
: s390-randconfig-s032-20200807 (attached as .config) compiler: s390-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version

Re: [PATCH] perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

2020-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2020 at 09:08:24AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Aug 06, 2020 at 09:43:57PM +0200, Jiri Olsa escreveu: > > On Wed, Aug 05, 2020 at 10:29:37AM +0800, Jin Yao wrote: > > > We received an error report that perf-record caused 'Segmentation fault' > > > on a newly

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-07 Thread Marco Elver
On Fri, 7 Aug 2020 at 14:04, Jürgen Groß wrote: > > On 07.08.20 13:38, Marco Elver wrote: > > On Fri, Aug 07, 2020 at 12:35PM +0200, Jürgen Groß wrote: > >> On 07.08.20 11:50, Marco Elver wrote: > >>> On Fri, Aug 07, 2020 at 11:24AM +0200, Jürgen Groß wrote: > On 07.08.20 11:01, Marco Elver

Re: [PATCH] perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

2020-08-07 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 06, 2020 at 09:43:57PM +0200, Jiri Olsa escreveu: > On Wed, Aug 05, 2020 at 10:29:37AM +0800, Jin Yao wrote: > > We received an error report that perf-record caused 'Segmentation fault' > > on a newly system (e.g. on the new installed ubuntu). > > > > (gdb) backtrace > > #0

Re: [PATCH RFC v2 02/18] irq/dev-msi: Add support for a new DEV_MSI irq domain

2020-08-07 Thread Jason Gunthorpe
On Thu, Aug 06, 2020 at 10:21:11PM +0200, Thomas Gleixner wrote: > Optionally? Please tell the hardware folks to make this mandatory. We > have enough pain with non maskable MSI interrupts already so introducing > yet another non maskable interrupt trainwreck is not an option. Can you elaborate

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-07 Thread Jürgen Groß
On 07.08.20 13:38, Marco Elver wrote: On Fri, Aug 07, 2020 at 12:35PM +0200, Jürgen Groß wrote: On 07.08.20 11:50, Marco Elver wrote: On Fri, Aug 07, 2020 at 11:24AM +0200, Jürgen Groß wrote: On 07.08.20 11:01, Marco Elver wrote: On Thu, 6 Aug 2020 at 18:06, Marco Elver wrote: On Thu, 6

Re: [PATCH v3] drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl()

2020-08-07 Thread Gerd Hoffmann
On Tue, Jul 21, 2020 at 06:16:47PM +0800, Xin He wrote: > From: Qi Liu > > We should put the reference count of the fence after calling > virtio_gpu_cmd_submit(). So add the missing dma_fence_put(). > virtio_gpu_cmd_submit(vgdev, buf, exbuf->size, >

Re: [PATCH] ASoC: amd: Replacing component->name with codec_dai->name

2020-08-07 Thread Mark Brown
On Fri, Aug 07, 2020 at 08:36:25AM +, RAVULAPATI, VISHNU VARDHAN RAO wrote: > On Thu, Aug 06, 2020 at 03:44:12PM +0530, Ravulapati Vishnu vardhan rao wrote: > > Replacing string compare with codec_dai->name instead of comparing > > with codec_dai->component->name in hw_params. > >Why? >

Re: drivers/video/fbdev/pxafb.c:916:24: sparse: sparse: incorrect type in assignment (different address spaces)

2020-08-07 Thread Luc Van Oostenryck
to > define address spaces > date: 7 weeks ago > config: arm-randconfig-s031-20200807 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin

Re: [PATCH v2 31/41] ARM: s3c24xx: spi: avoid hardcoding fiq number in driver

2020-08-07 Thread Mark Brown
On Thu, Aug 06, 2020 at 08:20:48PM +0200, Krzysztof Kozlowski wrote: > From: Arnd Bergmann > > The IRQ_EINT0 constant is a platform detail that is > defined in mach/irqs.h and not visible to drivers once > that header is made private. Acked-by: Mark Brown signature.asc Description: PGP

Re: [PATCH v2 28/41] ARM: s3c24xx: move iis pinctrl config into boards

2020-08-07 Thread Mark Brown
On Thu, Aug 06, 2020 at 08:20:45PM +0200, Krzysztof Kozlowski wrote: > From: Arnd Bergmann > > The s3c_gpio_cfgall_range() function is an internal interface of the > samsung gpio driver and should not be called directly by drivers, so > move the iis pin initialization into the boards. Well, it

[PATCH bpf] bpf: doc: remove references to warning message when using bpf_trace_printk()

2020-08-07 Thread Alan Maguire
The BPF helper bpf_trace_printk() no longer uses trace_printk(); it is now triggers a dedicated trace event. Hence the described warning is no longer present, so remove the discussion of it as it may confuse people. Fixes: ac5a72ea5c89 ("bpf: Use dedicated bpf_trace_printk event instead of

Re: [PATCH v2 23/41] ARM: s3c24xx: move spi fiq handler into platform

2020-08-07 Thread Mark Brown
On Thu, Aug 06, 2020 at 08:20:40PM +0200, Krzysztof Kozlowski wrote: > From: Arnd Bergmann > > The fiq handler needs access to some register definitions that > should not be used directly by device drivers. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: linux-next: Signed-off-by missing for commit in the cifs tree

2020-08-07 Thread Dan Carpenter
On Fri, Aug 07, 2020 at 08:33:42AM +1000, Stephen Rothwell wrote: > Hi Steve, > > Thanks for fixing this up. > > On Thu, 6 Aug 2020 10:31:33 -0500 Steve French wrote: > > > > I just fixed the Author tag in this patch to match your email address > > but seems like the author email address gets

[PATCH v1 05/13] phy: cadence-torrent: Add support for PHY multilink configuration

2020-08-07 Thread Swapnil Jakhade
Added support for multilink configuration of Torrent PHY. Currently, maximum two links are supported. In case of multilink configuration, PHY needs to be configured for both the protocols simultaneously at the beginning as per the requirement of Torrent PHY. Also, register sequences for PCIe +

[PATCH v1 07/13] phy: cadence-torrent: Add clk changes for multilink configuration

2020-08-07 Thread Swapnil Jakhade
Prepare and enable clock in probe instead of phy_init. Also, remove phy_exit callback. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 41 ++- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git

[PATCH v1 09/13] phy: cadence-torrent: Configure PHY_PLL_CFG as part of link_cmn_vals

2020-08-07 Thread Swapnil Jakhade
Include PHY_PLL_CFG as a first register value to configure in link_cmn_vals array values. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git

<    1   2   3   4   5   6   7   8   9   10   >