[PATCH 0/4 v2] tracing: Merge irqflags + preempt counter.

2021-01-25 Thread Sebastian Andrzej Siewior
The merge irqflags + preempt counter, v2. v1…v2: - Helper functions renamed. - Added patch #2 which inlines the helper functions. Sebastian

Re: [PATCH] n_tty: fix redirected_tty_write checks after write_iter conversion

2021-01-25 Thread Linus Torvalds
On Mon, Jan 25, 2021 at 11:27 AM Linus Torvalds wrote: > > Obvious ACK from me. Greg - if you have nothing else lined up in the tty tree, I can take this fix directly if it's easier. And Sami - how did you actually notice? Some lint-like tool, or is there something that actually broke from n_tty

Re: [PATCH dwc-next v2 2/2] PCI: dwc: al: Remove useless dw_pcie_ops

2021-01-25 Thread Chocron, Jonathan
On Fri, 2020-11-20 at 19:17 +0800, Jisheng Zhang wrote: > CAUTION: This email originated from outside of the organization. Do > not click links or open attachments unless you can confirm the sender > and know the content is safe. > > > > We have removed the dw_pcie_ops always exists assumption i

Re: [PATCH 1/2] printk: Add new pr_*_deferred_once() variants

2021-01-25 Thread Qais Yousef
On 01/25/21 12:04, John Ogness wrote: > On 2021-01-25, Peter Zijlstra wrote: > > On Sat, Jan 23, 2021 at 11:37:40PM +, Qais Yousef wrote: > >> To allow users in code where printk is not allowed. > >> > >> Signed-off-by: Qais Yousef > >> --- > >> include/linux/printk.h | 24 +

[PATCH 0/2] mm/hugetlb: follow_hugetlb_page() improvements

2021-01-25 Thread Joao Martins
Hey, While looking at ZONE_DEVICE struct page reuse particularly the last patch[0], I found two possible improvements for follow_hugetlb_page() which is solely used for get_user_pages()/pin_user_pages(). The first patch batches page refcount updates while the second tidies up storing the subpages

[PATCH 2/2] mm/hugetlb: refactor subpage recording

2021-01-25 Thread Joao Martins
For a given hugepage backing a VA, there's a rather ineficient loop which is solely responsible for storing subpages in the passed pages/vmas array. For each subpage we check whether it's within range or size of @pages and keep incrementing @pfn_offset and a couple other variables per subpage itera

[PATCH 2/4] tracing: Inline tracing_gen_ctx_flags()

2021-01-25 Thread Sebastian Andrzej Siewior
Inline tracing_gen_ctx_flags(). This allows to have one ifdef CONFIG_TRACE_IRQFLAGS_SUPPORT. This requires to move `trace_flag_type' so tracing_gen_ctx_flags() can use it. Suggested-by: Steven Rostedt Link: https://lkml.kernel.org/r/20210125140323.6b1ff...@gandalf.local.home Signed-off-by: Sebas

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Nick Desaulniers
On Mon, Jan 25, 2021 at 12:47 PM Helge Deller wrote: > > > >> On Sat, Jan 16, 2021 at 6:37 AM kernel test robot wrote: > > >>> tree: > > >>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > >>> master > > >>> head: 1d94330a437a573cfdf848f6743b1ed169242c8a > > >>> commi

[PATCH 4/4] tracing: Remove NULL check from current in tracing_generic_entry_update().

2021-01-25 Thread Sebastian Andrzej Siewior
I can't imagine when or why `current' would return a NULL pointer. This check was added in commit 72829bc3d63cd ("ftrace: move enums to ftrace.h and make helper function global") but it doesn't give me hint why it was needed. Assume `current' never returns a NULL pointer and remove the che

[PATCH 1/2] mm/hugetlb: grab head page refcount once per group of subpages

2021-01-25 Thread Joao Martins
follow_hugetlb_page() once it locks the pmd/pud, it checks all the subpages in a huge page and grabs a reference for each one, depending on how many pages we can store or the size of va range. Similar to gup-fast, have follow_hugetlb_page() grab the head page refcount only after counting all its su

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 9:47 PM, Helge Deller wrote: On Sat, Jan 16, 2021 at 6:37 AM kernel test robot wrote: > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 1d94330a437a573cfdf848f6743b1ed169242c8a > commit: eff8728fe69880d3f7983bec3fb6cea4

[GIT PULL 2/4] bcm2835-defconfig-next-2021-01-25

2021-01-25 Thread Nicolas Saenz Julienne
Hi Florian, The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git tags/bcm2835-defconfig-next-2021-01-25 for you t

[GIT PULL 3/4] bcm2835-defconfig-arm64-next-2021-01-25

2021-01-25 Thread Nicolas Saenz Julienne
Hi Florian, The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git tags/bcm2835-defconfig-arm64-next-2021-01-25 for

[GIT PULL 4/4] bcm2835-soc-next-2021-01-25

2021-01-25 Thread Nicolas Saenz Julienne
Hi Florian, The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git tags/bcm2835-soc-next-2021-01-25 for you to fetc

[GIT PULL 1/4] bcm2835-dt-next-2021-01-25

2021-01-25 Thread Nicolas Saenz Julienne
Hi Florian, The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git tags/bcm2835-dt-next-2021-01-25 for you to fetch

Re: [PATCH v2 00/15] drm/vc4: hdmi: Add CEC support for the BCM2711

2021-01-25 Thread Nicolas Saenz Julienne
Hi, On Mon, 2021-01-11 at 15:22 +0100, Maxime Ripard wrote: > Hi, > > Here's a series introducing the CEC support for the BCM2711 found on the > RaspberryPi4. > > The BCM2711 HDMI controller uses a similar layout for the CEC registers, the > main difference being that the interrupt handling part

Re: [PATCH v3 0/5] Expose RPi4's bootloader configuration

2021-01-25 Thread Nicolas Saenz Julienne
On Tue, 2021-01-12 at 15:23 +0100, Nicolas Saenz Julienne wrote: > Soon to be released versions of RPi4's firmware will take of care > passing their bootloader's configuration[1] to the OS by copying it into > memory and creating a reserved memory node in the board's DT. By > modeling this reserved

Re: Linux 5.11-rc5

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 08:34:34PM +, Chris Wilson wrote: > Quoting Linus Torvalds (2021-01-25 01:06:40) > > Mike Rapoport (3): > ... > > mm: fix initialization of struct page for holes in memory layout > > We have half a dozen or so different machines in CI that are silently > failing t

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 9:58 PM, Nick Desaulniers wrote: > On Mon, Jan 25, 2021 at 12:47 PM Helge Deller wrote: >> > On Sat, Jan 16, 2021 at 6:37 AM kernel test robot wrote: >> tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 1d94330a437a573cfdf8

Re: [PATCH v2 9/9] dt-bindings: clock: Add QCOM SDM630 and SDM660 graphics clock bindings

2021-01-25 Thread Rob Herring
On Wed, 13 Jan 2021 19:38:17 +0100, AngeloGioacchino Del Regno wrote: > Add device tree bindings for graphics clock controller for > Qualcomm Technology Inc's SDM630 and SDM660 SoCs. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/clock/qcom,gpucc-sdm660.yaml | 76 +

Re: [v4 PATCH 04/11] mm: vmscan: remove memcg_shrinker_map_size

2021-01-25 Thread Yang Shi
On Mon, Jan 25, 2021 at 12:36 AM Kirill Tkhai wrote: > > On 22.01.2021 02:06, Yang Shi wrote: > > Both memcg_shrinker_map_size and shrinker_nr_max is maintained, but > > actually the > > map size can be calculated via shrinker_nr_max, so it seems unnecessary to > > keep both. > > Remove memcg_sh

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread John David Anglin
I would suggest the following for this hunk: +    ldil    L%intr_restore, %r2 +    BL    preempt_schedule_irq +    ldo R%intr_restore(%r2), %r2     ldil    L%intr_restore, %r1     b,l    preempt_schedule_irq,%r2     ldo R%intr_restore(%r1), %r2 On PA 2.0 hardware that gives a 22-bit call

Re: [PATCH 07/13] opp: Allow _generic_set_opp_clk_only() to work for non-freq devices

2021-01-25 Thread Dmitry Osipenko
22.01.2021 07:35, Viresh Kumar пишет: > On 21-01-21, 23:26, Dmitry Osipenko wrote: >> 21.01.2021 14:17, Viresh Kumar пишет: >>> In order to avoid conditional statements at the caller site, this patch >>> updates _generic_set_opp_clk_only() to work for devices that don't >>> change frequency (like p

Re: [PATCH v2 06/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 17:22:04 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp display pixel link. > > Signed-off-by: Liu Ying > --- > v1->v2: > * Use graph schema. (Laurent) > * Require all four pixel link output ports. (Laurent) > * Mention pixel link is accessed via SCU firmwar

KASAN: global-out-of-bounds Write in record_print_text

2021-01-25 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bc085f8f Add linux-next specific files for 20210121 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17a726a4d0 kernel config: https://syzkaller.appspot.com/x/.config?x=1224bbf217b0bec8 dashboard

Re: Linux 5.11-rc5

2021-01-25 Thread Chris Wilson
Quoting Mike Rapoport (2021-01-25 21:04:56) > On Mon, Jan 25, 2021 at 08:34:34PM +, Chris Wilson wrote: > > Quoting Linus Torvalds (2021-01-25 01:06:40) > > > Mike Rapoport (3): > > ... > > > mm: fix initialization of struct page for holes in memory layout > > > > We have half a dozen or

Re: [PATCH] lkdtm: fix memory copy size for WRITE_KERN

2021-01-25 Thread Nick Desaulniers
On Mon, Jan 25, 2021 at 12:56 AM Candle Sun wrote: > > From: Candle Sun > > Though do_overwritten() follows do_nothing() in source code, the final > memory address order is determined by compiler. We can't always assume > address of do_overwritten() is bigger than do_nothing(). At least the > Cla

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Masahiro Yamada
On Tue, Jan 26, 2021 at 5:42 AM Josh Poimboeuf wrote: > > When building out-of-tree kernel modules, the build system doesn't > require the GCC version to match the version used to build the original > kernel. That's probably [1] fine. > > In fact, for many distros, the version of GCC used to buil

Re: [v4 PATCH 08/11] mm: vmscan: use per memcg nr_deferred of shrinker

2021-01-25 Thread Yang Shi
On Mon, Jan 25, 2021 at 1:35 AM Kirill Tkhai wrote: > > On 22.01.2021 02:06, Yang Shi wrote: > > Use per memcg's nr_deferred for memcg aware shrinkers. The shrinker's > > nr_deferred > > will be used in the following cases: > > 1. Non memcg aware shrinkers > > 2. !CONFIG_MEMCG > > 3.

Re: [PATCH 1/3] dt-bindings: auxdisplay: ht16k33: Keyscan function should be optional

2021-01-25 Thread Miguel Ojeda
On Mon, Jan 18, 2021 at 1:35 PM Geert Uytterhoeven wrote: > > From: Robin van der Gracht > > Keyscan should be optional to support simple LED matrix displays (output > only). Applied to -next, thanks! Cheers, Miguel

Re: [RFC PATCH 00/17] objtool: add base support for arm64

2021-01-25 Thread Josh Poimboeuf
On Fri, Jan 22, 2021 at 10:43:09PM +0100, Ard Biesheuvel wrote: > On Fri, 22 Jan 2021 at 22:15, Madhavan T. Venkataraman > wrote: > > On 1/22/21 11:43 AM, Mark Brown wrote: > > > On Thu, Jan 21, 2021 at 12:54:52PM -0600, Josh Poimboeuf wrote: > > > > > >> 2) The shadow stack idea sounds promising

Re: [PATCH 2/3] dt-bindings: auxdisplay: ht16k33: Fix default-brightness-level range

2021-01-25 Thread Miguel Ojeda
On Mon, Jan 18, 2021 at 1:35 PM Geert Uytterhoeven wrote: > > V4 changed the range from 0..15 to 1..16 in the driver, to match the > dimming set hardware register, but forgot to update the DT binding > documentation. Applied to -next, thanks! Cheers, Miguel

Re: [PATCH] auxdisplay: ht16k33: Fix refresh rate handling

2021-01-25 Thread Miguel Ojeda
On Fri, Jan 22, 2021 at 4:39 PM Geert Uytterhoeven wrote: > > Drop the call to msecs_to_jiffies(), as "HZ / fbdev->refresh_rate" is > already the number of jiffies to wait. Applied to -next, thanks! Cheers, Miguel

Re: [PATCH] auxdisplay: Fix duplicate CHARLCD config symbol

2021-01-25 Thread Miguel Ojeda
On Fri, Jan 22, 2021 at 5:01 PM Geert Uytterhoeven wrote: > > A second CHARLCD config symbol was added instead of moving the existing > one. Fix this by removing the old one. Applied to -next, thanks! Cheers, Miguel

Re: [RFC v3 net-next] net: core: devlink: add 'dropped' stats field for DROP trap action

2021-01-25 Thread Jakub Kicinski
On Mon, 25 Jan 2021 14:38:56 +0200 Oleksandr Mazur wrote: > + if (trap_item->action == DEVLINK_TRAP_ACTION_DROP && > + devlink->ops->trap_drop_counter_get) { > + err = devlink->ops->trap_drop_counter_get(devlink, > + trap

Re: [PATCH 3/3] dt-bindings: auxdisplay: ht16k33: Convert to json-schema

2021-01-25 Thread Miguel Ojeda
On Mon, Jan 18, 2021 at 1:35 PM Geert Uytterhoeven wrote: > > Convert the Holtek HT16K33 LED controller with keyscan Device Tree > binding documentation to json-schema. Applied to -next, thanks! Cheers, Miguel

Re: [PATCH v5 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 21:16:18 +0800, Chia-Wei, Wang wrote: > The LPC controller has no concept of the BMC and the Host partitions. > This patch fixes the documentation by removing the description on LPC > partitions. The register offsets illustrated in the DTS node examples > are also fixed to adapt

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread John David Anglin
On 2021-01-25 4:13 p.m., Helge Deller wrote: > On 1/25/21 10:08 PM, John David Anglin wrote: >> I would suggest the following for this hunk: >> >> +    ldil    L%intr_restore, %r2 >> +    BL    preempt_schedule_irq >> +    ldo R%intr_restore(%r2), %r2 >> >>     ldil    L%intr_restore, %r1 >>   

Re: [PATCH v2 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-01-25 Thread Rob Herring
On Thu, Jan 14, 2021 at 05:22:09PM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). > > Signed-off-by: Liu Ying > --- > v1->v2: > * Use graph schema. (Laurent) > * Side note i.MX8qxp LDB official name 'pixel mapper'. (Laurent) > > .../bindings/display/

Re: [PATCH v17 11/26] x86/mm: Update ptep_set_wrprotect() and pmdp_set_wrprotect() for transition from _PAGE_DIRTY to _PAGE_COW

2021-01-25 Thread Yu, Yu-cheng
On 1/25/2021 10:27 AM, Borislav Petkov wrote: On Tue, Dec 29, 2020 at 01:30:38PM -0800, Yu-cheng Yu wrote: [...] diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 666c25ab9564..1c84f1ba32b9 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm

[PATCH net-next 0/6] net: ipa: hardware pipeline cleanup fixes

2021-01-25 Thread Alex Elder
There is a procedure currently referred to as a "tag process" that is performed to clear the IPA hardware pipeline--either at the time of a modem crash, or when suspending modem GSI channels. One thing done in this procedure is issuing a command that sends a data packet originating from the AP->co

[PATCH net-next 1/6] net: ipa: rename "tag status" symbols

2021-01-25 Thread Alex Elder
There is a set of functions and symbols related to performing "tag_process" immediate commands to clear the IPA pipeline. The name is related to one of the commands issued when doing this, but it doesn't really convey the overall purpose of taking this action. The purpose is to take some steps to

[PATCH 06/32] netfs: Provide readahead and readpage netfs helpers

2021-01-25 Thread David Howells
Add a pair of helper functions: (*) netfs_readahead() (*) netfs_readpage() to do the work of handling a readahead or a readpage, where the page(s) that form part of the request may be split between the local cache, the server or just require clearing, and may be single pages and transparent hug

[PATCH 07/32] netfs: Add tracepoints

2021-01-25 Thread David Howells
Add three tracepoints to track the activity of the read helpers: (1) netfs/netfs_read This logs entry to the read helpers and also expansion of the range in a readahead request. (2) netfs/netfs_rreq This logs the progress of netfs_read_request objects which track read requ

[PATCH 09/32] netfs: Add write_begin helper

2021-01-25 Thread David Howells
Add a helper to do the pre-reading work for the netfs write_begin address space op. Signed-off-by: David Howells --- fs/netfs/internal.h |2 + fs/netfs/read_helper.c | 165 ++ fs/netfs/stats.c | 10 ++- include/linux/netf

[PATCH 10/32] netfs: Define an interface to talk to a cache

2021-01-25 Thread David Howells
Add an interface to the netfs helper library for reading data from the cache instead of downloading it from the server and support for writing data just downloaded or cleared to the cache. The API passes an iov_iter to the cache read/write routines to indicate the data/buffer to be used. This is

[PATCH 11/32] fscache, cachefiles: Add alternate API to use kiocb for read/write to cache

2021-01-25 Thread David Howells
Add an alternate API by which the cache can be accessed through a kiocb, doing async DIO, rather than using the current API that tells the cache where all the pages are. The new API is intended to be used in conjunction with the netfs helper library. A filesystem must pick one or the other and no

[PATCH 14/32] afs: Print the operation debug_id when logging an unexpected data version

2021-01-25 Thread David Howells
Print the afs_operation debug_id when logging an unexpected change in the data version. This allows the logged message to be matched against tracelines. Signed-off-by: David Howells --- fs/afs/inode.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/afs/inode.c b/

[PATCH 20/32] afs: Wait on PG_fscache before modifying/releasing a page

2021-01-25 Thread David Howells
PG_fscache is going to be used to indicate that a page is being written to the cache, and that the page should not be modified or released until it's finished. Make afs_invalidatepage() and afs_releasepage() wait for it. Signed-off-by: David Howells --- fs/afs/file.c |9 + fs/afs/

Re: [PATCH v16 06/11] mm: introduce memfd_secret system call to create "secret" memory areas

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 06:01:22PM +0100, Michal Hocko wrote: > On Thu 21-01-21 14:27:18, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Introduce "memfd_secret" system call with the ability to create memory > > areas visible only in the context of the owning process and not mapped not > >

[PATCH 27/32] NFS: Refactor nfs_readpage() and nfs_readpage_async() to use nfs_readdesc

2021-01-25 Thread David Howells
From: Dave Wysochanski Both nfs_readpage() and nfs_readpages() use similar code. This patch should be no functional change, and refactors nfs_readpage_async() to use nfs_readdesc to enable future merging of nfs_readpage_async() and nfs_readpage_async_filler(). Signed-off-by: Dave Wysochanski --

Re: hppa64-linux-ld: mm/hugetlb.o(.text+0x50dc): cannot reach printk

2021-01-25 Thread Helge Deller
On 1/25/21 10:17 PM, John David Anglin wrote: > On 2021-01-25 4:13 p.m., Helge Deller wrote: >> On 1/25/21 10:08 PM, John David Anglin wrote: >>> I would suggest the following for this hunk: >>> >>> +    ldil    L%intr_restore, %r2 >>> +    BL    preempt_schedule_irq >>> +    ldo R%intr_restore

Re: [PATCH v16 08/11] secretmem: add memcg accounting

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 05:54:51PM +0100, Michal Hocko wrote: > On Thu 21-01-21 14:27:20, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Account memory consumed by secretmem to memcg. The accounting is updated > > when the memory is actually allocated and freed. > > What does this mean? T

Re: [PATCH v2 1/2] dt-bindings: phy: phy-stm32-usbphyc: add #clock-cells required property

2021-01-25 Thread Rob Herring
On Thu, Jan 14, 2021 at 06:13:13PM +0100, Amelie Delaunay wrote: > usbphyc provides a unique clock called ck_usbo_48m. > STM32 USB OTG needs a 48Mhz clock (utmifs_clk48) for Full-Speed operation. > ck_usbo_48m is a possible parent clock for USB OTG 48Mhz clock. > > ck_usbo_48m is available as soon

[PATCH 32/32] NFS: Convert readpage to readahead and use netfs_readahead for fscache

2021-01-25 Thread David Howells
From: Dave Wysochanski The new FS-Cache API does not have a readpages equivalent function, and instead of fscache_read_or_alloc_pages() it implements a readahead function, netfs_readahead(). Call netfs_readahead() if fscache is enabled, and if not, utilize readahead_page() to run through the pag

[PATCH 31/32] NFS: Convert to the netfs API and nfs_readpage to use netfs_readpage

2021-01-25 Thread David Howells
From: Dave Wysochanski This patch converts the main NFS read paths to the new netfs API, when fscache is enabled, and converts readpage while minimizing changes to the existing NFS read code paths. The netfs API requires a few functions to be provided by the netfs: - init_rreq: allows netfs to a

[PATCH 30/32] NFS: Allow internal use of read structs and functions

2021-01-25 Thread David Howells
From: Dave Wysochanski The conversion of the NFS read paths to the new fscache API will require use of a few read structs and functions, so move these declarations as required. Signed-off-by: Dave Wysochanski --- fs/nfs/internal.h |8 fs/nfs/read.c | 13 - 2 fil

[PATCH v4 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-25 Thread Praveen Chaudhary
For IPv4, default route is learned via DHCPv4 and user is allowed to change metric using config etc/network/interfaces. But for IPv6, default route can be learned via RA, for which, currently a fixed metric value 1024 is used. Ideally, user should be able to configure metric on default route for I

Re: Linux 5.11-rc5

2021-01-25 Thread Chris Wilson
Quoting Mike Rapoport (2021-01-25 21:33:48) > On Mon, Jan 25, 2021 at 12:49:39PM -0800, Linus Torvalds wrote: > > On Mon, Jan 25, 2021 at 12:35 PM Chris Wilson > > wrote: > > > > > > Quoting Linus Torvalds (2021-01-25 01:06:40) > > > > Mike Rapoport (3): > > > ... > > > > mm: fix initializa

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Masahiro Yamada
On Tue, Jan 26, 2021 at 6:28 AM Josh Poimboeuf wrote: > > On Tue, Jan 26, 2021 at 06:16:01AM +0900, Masahiro Yamada wrote: > > On Tue, Jan 26, 2021 at 5:42 AM Josh Poimboeuf wrote: > > > > > > When building out-of-tree kernel modules, the build system doesn't > > > require the GCC version to matc

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-25 Thread Fabio Estevam
Hi Oliver, On Mon, Jan 25, 2021 at 6:29 PM Oliver Graute wrote: > Ok I fixed the pin conflict with regulator-gpio and added a 5V > regulator node in my dts file. Now the display is working fine! That's good news :-) > I'll post the dts files soon and check if there is something to > improve fo

Re: [PATCH v1 9/9] mmc: sdhci-of-arasan: Add UHS-1 support for Keem Bay SOC

2021-01-25 Thread Rob Herring
On Thu, Jan 14, 2021 at 11:27:00PM +0800, Muhammad Husaini Zulkifli wrote: > Keem Bay SOC can support dual voltage operations for GPIO SD pins to > either 1.8V or 3.3V for bus IO line power. In order to operate the GPIOs > line for Clk, Cmd and Data on Keem Bay hardware, it is important to > config

[PATCH 29/32] NFS: Add nfs_pageio_complete_read() and remove nfs_readpage_async()

2021-01-25 Thread David Howells
From: Dave Wysochanski Add nfs_pageio_complete_read() and call this from both nfs_readpage() and nfs_readpages(), since the submission and accounting is the same for both functions. Signed-off-by: Dave Wysochanski --- fs/nfs/read.c | 137 +

Re: [PATCH 2/2] dt-bindings: display: Document BOE BF060Y8M-AJ0 panel compatible

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 18:50:24 +0100, AngeloGioacchino Del Regno wrote: > Document the boe,bf060y8m-aj0 panel. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../display/panel/boe,bf060y8m-aj0.yaml | 67 +++ > 1 file changed, 67 insertions(+) > create mode 100644

Re: [PATCH Broadcom/stblinux 1/2] dt-bindings: power: bcm-pmb: add BCM63138 binding

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 18:53:38 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > PMB can be also found on bcm63xx chipsets. It uses difference device > addresses so a new binding is required. > > Signed-off-by: Rafał Miłecki > --- > Documentation/devicetree/bindings/power/brcm,bcm-pmb.yaml |

Re: [PATCH v16 08/11] secretmem: add memcg accounting

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 09:18:04AM -0800, Shakeel Butt wrote: > On Mon, Jan 25, 2021 at 8:20 AM Matthew Wilcox wrote: > > > > On Thu, Jan 21, 2021 at 02:27:20PM +0200, Mike Rapoport wrote: > > > From: Mike Rapoport > > > > > > Account memory consumed by secretmem to memcg. The accounting is updat

Re: [RFC PATCH v2 0/4] make jbd2 debug switch per device

2021-01-25 Thread Theodore Ts'o
On Sat, Jan 23, 2021 at 08:00:42PM +0800, Chunguang Xu wrote: > On a multi-disk machine, because jbd2 debugging switch is global, this > confuses the logs of multiple disks. It is not easy to distinguish the > logs of each disk and the amount of generated logs is very large. Maybe > a separate debu

Re: [PATCH v4 00/17] Miscellaneous fixes for resctrl selftests

2021-01-25 Thread Shuah Khan
On 1/25/21 1:47 PM, Fenghua Yu wrote: Hi, Shuah, On Mon, Nov 30, 2020 at 08:19:53PM +, Fenghua Yu wrote: This patch set has several miscellaneous fixes to resctrl selftest tool that are easily visible to user. V1 had fixes to CAT test and CMT test but they were dropped in V2 because having

Re: [PATCH v2 1/3] iommu/arm-smmu: Add support for driver IOMMU fault handlers

2021-01-25 Thread Jordan Crouse
On Fri, Jan 22, 2021 at 12:53:17PM +, Robin Murphy wrote: > On 2021-01-22 12:41, Will Deacon wrote: > >On Tue, Nov 24, 2020 at 12:15:58PM -0700, Jordan Crouse wrote: > >>Call report_iommu_fault() to allow upper-level drivers to register their > >>own fault handlers. > >> > >>Signed-off-by: Jord

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-25 Thread Masahiro Yamada
On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König wrote: > > Adding the -@ switch to dtc results in the binary devicetrees containing > a list of symbolic references and their paths. This is necessary to > apply device tree overlays e.g. on Raspberry Pi as described on > https://www.raspberrypi.org

[PATCH] iommu/arm-smmu-qcom: Fix mask extraction for bootloader programmed SMRs

2021-01-25 Thread Isaac J. Manjarres
When extracting the mask for a SMR that was programmed by the bootloader, the SMR's valid bit is also extracted and is treated as part of the mask, which is not correct. Consider the scenario where an SMMU master whose context is determined by a bootloader programmed SMR is removed (omitting parts

Re: [PATCH v4 00/17] Miscellaneous fixes for resctrl selftests

2021-01-25 Thread Fenghua Yu
On Mon, Jan 25, 2021 at 02:52:09PM -0700, Shuah Khan wrote: > On 1/25/21 1:47 PM, Fenghua Yu wrote: > > On Mon, Nov 30, 2020 at 08:19:53PM +, Fenghua Yu wrote: > > > This patch set has several miscellaneous fixes to resctrl selftest tool > > > that are easily visible to user. V1 had fixes to CA

[PATCH 28/32] NFS: Call readpage_async_filler() from nfs_readpage_async()

2021-01-25 Thread David Howells
From: Dave Wysochanski Refactor slightly so nfs_readpage_async() calls into readpage_async_filler(). Signed-off-by: Dave Wysochanski --- fs/nfs/read.c | 28 +++- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/fs/nfs/read.c b/fs/nfs/read.c index 5fda3

Re: [PATCH v2] doc: gcc-plugins: drop more stale information

2021-01-25 Thread Masahiro Yamada
On Sat, Jan 23, 2021 at 10:34 PM Masahiro Yamada wrote: > > [1] Drop the version information > > The range of the supported GCC versions are always changing. The > current minimal GCC version is 4.9, and commit 1e860048c53e > ("gcc-plugins: simplify GCC plugin-dev capability test") removed the > o

RE: [RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Tuesday, January 26, 2021 1:11 AM > To: Song Bao Hua (Barry Song) ; Vincent Guittot > ; Mel Gorman > Cc: Ingo Molnar ; Peter Zijlstra ; > Dietmar Eggemann ; Morten Rasmussen > ; linux-kernel ; >

[PATCH 26/32] NFS: In nfs_readpage() only increment NFSIOS_READPAGES when read succeeds

2021-01-25 Thread David Howells
From: Dave Wysochanski There is a small inconsistency with nfs_readpage() vs nfs_readpages() with regards to NFSIOS_READPAGES. In readpage we unconditionally increment NFSIOS_READPAGES at the top, which means even if the read fails. In readpages, we increment NFSIOS_READPAGES at the bottom base

Re: [PATCH net] net: mrp: use stp state as substitute for unimplemented mrp state

2021-01-25 Thread Rasmus Villemoes
On 19/01/2021 16.52, Andrew Lunn wrote: > On Tue, Jan 19, 2021 at 09:32:40AM +0100, Horatiu Vultur wrote: >> The 01/18/2021 21:27, Vladimir Oltean wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>> >>> On Mon, Jan 18, 2021 at 09:20:36PM +0

[PATCH 25/32] NFS: Clean up nfs_readpage() and nfs_readpages()

2021-01-25 Thread David Howells
From: Dave Wysochanski In prep for the new fscache netfs API, refactor nfs_readpage() and nfs_readpages() for future patches. No functional change. Signed-off-by: Dave Wysochanski --- fs/nfs/read.c | 45 +++-- 1 file changed, 23 insertions(+), 22 del

[PATCH 24/32] afs: Use new fscache read helper API

2021-01-25 Thread David Howells
Make AFS use the new fscache read helpers to implement the VM read operations: - afs_readpage() now hands off responsibility to fscache_readpage(). - afs_readpages() is gone and replaced with afs_readahead(). - afs_readahead() just hands off responsibility to fscache_readahead(). These make

[PATCH 23/32] afs: Use the fs operation ops to handle FetchData completion

2021-01-25 Thread David Howells
Use the 'success' and 'aborted' afs_operations_ops methods and add a 'failed' method to handle the completion of an AFS.FetchData, AFS.FetchData64 or YFS.FetchData64 RPC operation rather than directly calling the done func pointed to by the afs_read struct from the call delivery handler. This mean

Re: WARNING in pskb_expand_head

2021-01-25 Thread Eric Dumazet
On Mon, Jan 25, 2021 at 10:12 PM Jakub Kicinski wrote: > > CC Willem just in case This is an old bug really, tun_napi_alloc_frags() does not make sure its @len argument is not too big. Since __skb_grow() does not use __GFP_NOWARN we end up with this well known warning in mm layer. I would use

Re: [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries

2021-01-25 Thread Mike Kravetz
On 1/24/21 8:32 PM, Randy Dunlap wrote: > Add qualifying build option legend [CMA] to kernel boot options > that requirce CMA support to be enabled for them to be usable. > > Also capitalize 'CMA' when it is used as an acronym. > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-.

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Kees Cook
On Mon, Jan 25, 2021 at 02:42:10PM -0600, Josh Poimboeuf wrote: > When a GCC version mismatch is detected, print a warning and disable the > plugin. The only exception is the RANDSTRUCT plugin which needs all > code to see the same struct layouts. In that case print an error. I prefer this patch

Re: [PATCH v7 00/28] coresight: etm4x: Support for system instructions

2021-01-25 Thread Suzuki K Poulose
On 1/25/21 6:49 PM, Mathieu Poirier wrote: On Sun, Jan 10, 2021 at 10:48:22PM +, Suzuki K Poulose wrote: CoreSight ETMv4.4 obsoletes memory mapped access to ETM and mandates the system instructions for registers. This also implies that they may not be on the amba bus. Right now all the CoreS

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Josh Poimboeuf
On Tue, Jan 26, 2021 at 06:44:35AM +0900, Masahiro Yamada wrote: > > > If people use a different compiler, they must be > > > prepared for any possible problem. > > > > > > Using different compiler flags for in-tree and out-of-tree > > > is even more dangerous. > > > > > > For example, CONFIG_GCC_P

[PATCH] soc: ti: pruss: Refactor the CFG sub-module init

2021-01-25 Thread Suman Anna
The CFG sub-module is not present on some earlier SoCs like the DA850/OMAPL-138 in the TI Davinci family. Refactor out the CFG sub-module parse and initialization logic into a separate function to make it easier to add logic for the PRUSS IP on the above legacy SoC families. Signed-off-by: Suman A

YOU HAVE WON

2021-01-25 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH v2] rtc: ac100: use rtc_lock/rtc_unlock

2021-01-25 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ac100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-ac100.c b/drivers/rtc/rtc-ac100.c index 1ddbef99e38f..66783cb5e711 100644 ---

Re: [PATCH] KVM: x86: allow KVM_REQ_GET_NESTED_STATE_PAGES outside guest mode for VMX

2021-01-25 Thread Paolo Bonzini
On 25/01/21 20:53, Sean Christopherson wrote: Eh, I would argue that it is more common to do KVM_REQ_GET_NESTED_STATE_PAGES with is_guest_mode() than it is with !is_guest_mode(), as the latter is valid if and only if eVMCS is in use. But, I think we're only vying for internet points.:-) howev

Re: [PATCH] kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc

2021-01-25 Thread Masahiro Yamada
On Sat, Jan 23, 2021 at 6:16 PM Masahiro Yamada wrote: > > With commit 1e860048c53e ("gcc-plugins: simplify GCC plugin-dev > capability test") applied, this check can be way simpler because > now scripts/gcc-plugins/Kconfig only checks plugin-version.h > > Signed-off-by: Masahiro Yamada > --- > >

Re: [PATCH v17 11/26] x86/mm: Update ptep_set_wrprotect() and pmdp_set_wrprotect() for transition from _PAGE_DIRTY to _PAGE_COW

2021-01-25 Thread Borislav Petkov
On Mon, Jan 25, 2021 at 01:27:51PM -0800, Yu, Yu-cheng wrote: > > Maybe I'm missing something but those two can happen outside of the > > loop, no? Or is *ptep somehow changing concurrently while the loop is > > doing the CMPXCHG and you need to recreate it each time? > > > > IOW, you can generate

Re: [PATCH v3 1/3] dt-bindings: i2c: qcom,i2c-qup: Convert txt to YAML schema

2021-01-25 Thread Rob Herring
On Thu, Jan 14, 2021 at 07:04:13PM +0100, AngeloGioacchino Del Regno wrote: > Convert the qcom,i2c-qup binding to YAML schema. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../devicetree/bindings/i2c/qcom,i2c-qup.txt | 40 - > .../devicetree/bindings/i2c/qcom,i2c-qup.yaml |

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-25 Thread Oliver Graute
On 25/01/21, Fabio Estevam wrote: > Hi Oliver, > > On Mon, Jan 25, 2021 at 6:29 PM Oliver Graute wrote: > > > Ok I fixed the pin conflict with regulator-gpio and added a 5V > > regulator node in my dts file. Now the display is working fine! > > That's good news :-) > > > I'll post the dts file

Re: [PATCH v3 3/3] dt-bindings: i2c: qcom,i2c-qup: Document noise rejection properties

2021-01-25 Thread Rob Herring
On Thu, 14 Jan 2021 19:04:15 +0100, AngeloGioacchino Del Regno wrote: > Document the new noise rejection properties "qcom,noise-reject-sda" > and "qcom,noise-reject-scl". > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../devicetree/bindings/i2c/qcom,i2c-qup.yaml | 14

Re: [PATCH v3] Bluetooth: Keep MSFT ext info throughout ahci_dev's life cycle

2021-01-25 Thread Miao-chen Chou
Hi Marcel, On Mon, Jan 25, 2021 at 7:13 AM Marcel Holtmann wrote: > > Hi Miao-chen, > > > This moves msft_do_close() from hci_dev_do_close() to > > hci_unregister_dev() to avoid clearing MSFT extension info. This also > > avoids retrieving MSFT info upon every msft_do_open() if MSFT extension > >

Re: [PATCH v17 11/26] x86/mm: Update ptep_set_wrprotect() and pmdp_set_wrprotect() for transition from _PAGE_DIRTY to _PAGE_COW

2021-01-25 Thread Yu, Yu-cheng
On 1/25/2021 1:55 PM, Borislav Petkov wrote: On Mon, Jan 25, 2021 at 01:27:51PM -0800, Yu, Yu-cheng wrote: Maybe I'm missing something but those two can happen outside of the loop, no? Or is *ptep somehow changing concurrently while the loop is doing the CMPXCHG and you need to recreate it each

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-25 Thread Josh Poimboeuf
On Mon, Jan 25, 2021 at 02:03:07PM -0800, Kees Cook wrote: > On Mon, Jan 25, 2021 at 02:42:10PM -0600, Josh Poimboeuf wrote: > > When a GCC version mismatch is detected, print a warning and disable the > > plugin. The only exception is the RANDSTRUCT plugin which needs all > > code to see the same

Re: [PATCH 2/2] dt-bindings: qcom,pdc: Add compatible for SM8350

2021-01-25 Thread Rob Herring
On Fri, 15 Jan 2021 14:39:41 +0530, Vinod Koul wrote: > Add the compatible string for SM8350 SoC from Qualcomm. > > Signed-off-by: Vinod Koul > --- > .../devicetree/bindings/interrupt-controller/qcom,pdc.txt| 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, January 26, 2021 4:47 AM > To: Wangzhou (B) > Cc: Greg Kroah-Hartman ; Arnd Bergmann > ; Zhangfei Gao ; > linux-accelerat...@lists.ozlabs.org; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation

Re: [PATCH V2 06/11] dts: bindings: Document device tree bindings for ETE

2021-01-25 Thread Suzuki K Poulose
Hi Rob On 1/25/21 7:22 PM, Rob Herring wrote: On Wed, Jan 13, 2021 at 09:48:13AM +0530, Anshuman Khandual wrote: From: Suzuki K Poulose Document the device tree bindings for Embedded Trace Extensions. ETE can be connected to legacy coresight components and thus could optionally contain a conn

<    4   5   6   7   8   9   10   11   12   >