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

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

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

[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

[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

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

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

[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

[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

[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

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

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

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

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

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

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

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

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 >

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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

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:

[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

[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

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

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

[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

[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

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

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

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

[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

[PATCH 3/4] tracing: Use in_serving_softirq() to deduct softirq status.

2021-01-25 Thread Sebastian Andrzej Siewior
PREEMPT_RT does not report "serving softirq" because the tracing core looks at the preemption counter while PREEMPT_RT does not update it while processing softirqs in order to remain preemptible. The information is stored somewhere else. The in_serving_softirq() macro and the SOFTIRQ_OFFSET define

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

2021-01-25 Thread Sebastian Andrzej Siewior
The state of the interrupts (irqflags) and the preemption counter are both passed down to tracing_generic_entry_update(). Only one bit of irqflags is actually required: The on/off state. The complete 32bit of the preemption counter isn't needed. Just whether of the upper bits (softirq, hardirq and

Re: [BUG]: KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe

2021-01-25 Thread Marc Zyngier
Hi all, On Mon, 25 Jan 2021 20:07:56 +, Oliver Upton wrote: > > > That means we have two options: > > (a) define __hyp_panic_string in a different .c file in all pre-5.9 > > branches, or > > (b) revert the backported patch. > > > > The patch was needed in 5.9 and should stay there. It

[PATCH v8 00/14] prohibit pinning pages in ZONE_MOVABLE

2021-01-25 Thread Pavel Tatashin
Changelog - v8 - Added reviewed by's from John Hubbard - Fixed subjects for selftests patches - Moved zero page check inside is_pinnable_page() as requested by Jason Gunthorpe. v7 - Added reviewed-by's - Fixed a compile bug on non-mmu builds reported by robot v6 Small update, but I

Re: [PATCH v6 4/7] regulator: Add regulator driver for ATC260x PMICs

2021-01-25 Thread Mark Brown
On Mon, Jan 25, 2021 at 10:50:48PM +0200, Cristian Ciocaltea wrote: > On Mon, Jan 25, 2021 at 07:23:11PM +, Mark Brown wrote: > > Please do not submit new versions of already applied patches, please > > submit incremental updates to the existing code. Modifying existing > The patches

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

2021-01-25 Thread Josh Poimboeuf
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 build the latest kernel doesn't necessarily match the latest released

Re: [PATCH v6 4/7] regulator: Add regulator driver for ATC260x PMICs

2021-01-25 Thread Cristian Ciocaltea
Hi Mark, On Mon, Jan 25, 2021 at 07:23:11PM +, Mark Brown wrote: > On Wed, Jan 20, 2021 at 08:23:29PM +0200, Cristian Ciocaltea wrote: > > Add support for the DC-DC converters and LDO regulators found in > > the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x > > family of

Re: [PATCH 5.10 000/199] 5.10.11-rc1 review

2021-01-25 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 5.10.11 release. > There are 199 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 27 Jan 2021 18:31:44

Re: [PATCH v2 4/9] dt-bindings: clock: Add support for the SDM630 and SDM660 mmcc

2021-01-25 Thread Rob Herring
On Wed, 13 Jan 2021 19:38:12 +0100, AngeloGioacchino Del Regno wrote: > Document the multimedia clock controller found on SDM630/660. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > Documentation/devicetree/bindings/clock/qcom,mmcc.yaml | 2 ++ > 1 file changed, 2 insertions(+) >

Re: Linux 5.11-rc5

2021-01-25 Thread Linus Torvalds
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 initialization of struct page for holes in memory layout > > We have half a dozen or so different machines in CI that are silently > failing to

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

2021-01-25 Thread Helge Deller
> >> 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: eff8728fe69880d3f7983bec3fb6cea4c306261f vmlinux.lds.h: Add PGO > >>>

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

2021-01-25 Thread Fenghua Yu
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 them here made the patchset >

Re: [PATCH 4.19 00/58] 4.19.171-rc1 review

2021-01-25 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.171 release. > There are 58 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. CIP testing did not find any problems here:

Re: [PATCH] kdb: Refactor env variables get/set code

2021-01-25 Thread Daniel Thompson
On Mon, Jan 25, 2021 at 07:59:45PM +0530, Sumit Garg wrote: > Move kdb environment related get/set APIs to a separate file in order > to provide an abstraction for environment variables access and hence > enhances code readability. > > Signed-off-by: Sumit Garg > --- > kernel/debug/kdb/Makefile

[PATCH v8 03/14] mm/gup: return an error on migration failure

2021-01-25 Thread Pavel Tatashin
When migration failure occurs, we still pin pages, which means that we may pin CMA movable pages which should never be the case. Instead return an error without pinning pages when migration failure happens. No need to retry migrating, because migrate_pages() already retries 10 times.

[PATCH v8 02/14] mm/gup: check every subpage of a compound page during isolation

2021-01-25 Thread Pavel Tatashin
When pages are isolated in check_and_migrate_movable_pages() we skip compound number of pages at a time. However, as Jason noted, it is not necessary correct that pages[i] corresponds to the pages that we skipped. This is because it is possible that the addresses in this range had

[PATCH v8 01/14] mm/gup: don't pin migrated cma pages in movable zone

2021-01-25 Thread Pavel Tatashin
In order not to fragment CMA the pinned pages are migrated. However, they are migrated to ZONE_MOVABLE, which also should not have pinned pages. Remove __GFP_MOVABLE, so pages can be migrated to zones where pinning is allowed. Signed-off-by: Pavel Tatashin Reviewed-by: David Hildenbrand

[PATCH v8 04/14] mm/gup: check for isolation errors

2021-01-25 Thread Pavel Tatashin
It is still possible that we pin movable CMA pages if there are isolation errors and cma_page_list stays empty when we check again. Check for isolation errors, and return success only when there are no isolation errors, and cma_page_list is empty after checking. Because isolation errors are

[PATCH v8 05/14] mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2021-01-25 Thread Pavel Tatashin
PF_MEMALLOC_NOCMA is used ot guarantee that the allocator will not return pages that might belong to CMA region. This is currently used for long term gup to make sure that such pins are not going to be done on any CMA pages. When PF_MEMALLOC_NOCMA has been introduced we haven't realized that it

[PATCH v8 08/14] mm/gup: do not migrate zero page

2021-01-25 Thread Pavel Tatashin
On some platforms ZERO_PAGE(0) might end-up in a movable zone. Do not migrate zero page in gup during longterm pinning as migration of zero page is not allowed. For example, in x86 QEMU with 16G of memory and kernelcore=5G parameter, I see the following: Boot#1: zero_pfn 0x48a8d zero_pfn zone:

[PATCH v8 09/14] mm/gup: migrate pinned pages out of movable zone

2021-01-25 Thread Pavel Tatashin
We should not pin pages in ZONE_MOVABLE. Currently, we do not pin only movable CMA pages. Generalize the function that migrates CMA pages to migrate all movable pages. Use is_pinnable_page() to check which pages need to be migrated Signed-off-by: Pavel Tatashin Reviewed-by: John Hubbard ---

[PATCH v8 07/14] mm: honor PF_MEMALLOC_PIN for all movable pages

2021-01-25 Thread Pavel Tatashin
PF_MEMALLOC_PIN is only honored for CMA pages, extend this flag to work for any allocations from ZONE_MOVABLE by removing __GFP_MOVABLE from gfp_mask when this flag is passed in the current context. Add is_pinnable_page() to return true if page is in a pinnable page. A pinnable page is not in

[PATCH v8 06/14] mm: apply per-task gfp constraints in fast path

2021-01-25 Thread Pavel Tatashin
Function current_gfp_context() is called after fast path. However, soon we will add more constraints which will also limit zones based on context. Move this call into fast path, and apply the correct constraints for all allocations. Also update .reclaim_idx based on value returned by

[PATCHv3 6/6] fpga: stratix10-soc: extend driver for bitstream authentication

2021-01-25 Thread richard . gong
From: Richard Gong Extend FPGA manager driver to support FPGA bitstream authentication on Intel SocFPGA platforms. Signed-off-by: Richard Gong --- v3: add handle to retriev the firmware version to keep driver back compatible v2: use flag defined in stratix10-svc driver ---

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

2021-01-25 Thread Sami Tolvanen
On Mon, Jan 25, 2021 at 12:08 PM Linus Torvalds wrote: > > On Mon, Jan 25, 2021 at 12:03 PM Sami Tolvanen > wrote: > > > > Neither, I noticed this because the conflicting function declarations > > broke Clang's Control Flow Integrity checking. > > Ahh, interesting. Is that automated somewhere,

[PATCHv3 4/6] fpga: of-fpga-region: add authenticate-fpga-config property

2021-01-25 Thread richard . gong
From: Richard Gong Add authenticate-fpga-config property to support FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Signed-off-by: Richard Gong --- v3: no change v2: changed in alphabetical order --- drivers/fpga/of-fpga-region.c | 3 +++ 1 file

[PATCHv3 5/6] dt-bindings: fpga: add authenticate-fpga-config property

2021-01-25 Thread richard . gong
From: Richard Gong Add authenticate-fpga-config property for FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Signed-off-by: Richard Gong --- v3: no change v2: put authenticate-fpga-config above partial-fpga-config update commit messages ---

[PATCHv3 0/6] [PATCHv3 0/6] Extend Intel service layer, FPGA manager and region

2021-01-25 Thread richard . gong
From: Richard Gong This is 3rd submission of Intel service layer and FPGA patches. This submission include additional changes for Intel service layer driver to get the firmware version running at FPGA SoC device. Then FPGA manager driver, one of Intel service layer driver's client, can decide

[PATCHv3 3/6] fpga: fpga-mgr: add FPGA_MGR_BITSTREM_AUTHENTICATION flag

2021-01-25 Thread richard . gong
From: Richard Gong Add FPGA_MGR_BITSTREM_AUTHENTICATION flag for FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Except for the actual configuration of the device, the authentication works the same way as FPGA configuration does. If the authentication

[PATCHv3 1/6] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2021-01-25 Thread richard . gong
From: Richard Gong Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream authentication feature. Authenticating a bitstream is to make sure a signed bitstream has the valid signatures. Except for the actual configuration of the device, the bitstream authentication works the

[PATCHv3 2/6] firmware: stratix10-svc: extend SVC driver to get the firmware version

2021-01-25 Thread richard . gong
From: Richard Gong Extend Intel service layer driver to get the firmware version running at FPGA device. Therefore FPGA manager driver, one of Intel service layer driver's client, can decide whether to handle the newly added bitstream authentication function based on the retrieved firmware

[PATCH v8 11/14] mm/gup: change index type to long as it counts pages

2021-01-25 Thread Pavel Tatashin
In __get_user_pages_locked() i counts number of pages which should be long, as long is used in all other places to contain number of pages, and 32-bit becomes increasingly small for handling page count proportional values. Signed-off-by: Pavel Tatashin Acked-by: Michal Hocko --- mm/gup.c | 2

[PATCH v8 10/14] memory-hotplug.rst: add a note about ZONE_MOVABLE and page pinning

2021-01-25 Thread Pavel Tatashin
Document the special handling of page pinning when ZONE_MOVABLE present. Signed-off-by: Pavel Tatashin Suggested-by: David Hildenbrand Acked-by: Michal Hocko --- Documentation/admin-guide/mm/memory-hotplug.rst | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v8 12/14] mm/gup: longterm pin migration cleanup

2021-01-25 Thread Pavel Tatashin
When pages are longterm pinned, we must migrated them out of movable zone. The function that migrates them has a hidden loop with goto. The loop is to retry on isolation failures, and after successful migration. Make this code better by moving this loop to the caller. Signed-off-by: Pavel

[PATCH RESEND] kvm: paging_tmpl.h: delete duplicated word

2021-01-25 Thread Randy Dunlap
Delete the repeated word "to". Signed-off-by: Randy Dunlap Cc: Paolo Bonzini Cc: k...@vger.kernel.org --- arch/x86/kvm/mmu/paging_tmpl.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/x86/kvm/mmu/paging_tmpl.h +++

Re: Linux 5.11-rc5

2021-01-25 Thread Chris Wilson
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 to boot, that we believe is bisected to this patch. 17:56 tsa

[PATCH RESEND] kvm: mmu.h: delete duplicated word

2021-01-25 Thread Randy Dunlap
Delete the repeated word "is". Signed-off-by: Randy Dunlap Cc: Paolo Bonzini Cc: k...@vger.kernel.org --- arch/x86/kvm/mmu.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/x86/kvm/mmu.h +++ linux-next-20200720/arch/x86/kvm/mmu.h @@ -191,7 +191,7 @@

Re: [PATCH] fs/pipe: allow sendfile() to pipe again

2021-01-25 Thread Linus Torvalds
On Mon, Jan 25, 2021 at 1:16 AM Johannes Berg wrote: > > Mostly for the record, since it looks like we'll have a proper > fix without another intermediate pipe. However, this fixes the > regression for now. I've applied this anyway. We'll see how big Al's proper fix ends up being, and depending

Re: [PATCH 5.10 000/199] 5.10.11-rc1 review

2021-01-25 Thread Guenter Roeck
On Mon, Jan 25, 2021 at 01:36:03PM -0600, Daniel Díaz wrote: > Hello! > > > On 1/25/21 12:37 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.11 release. > > There are 199 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH] x86/mm: Tracking linear mapping split events since boot

2021-01-25 Thread Tejun Heo
Hello, On Mon, Jan 25, 2021 at 12:15:51PM -0800, Dave Hansen wrote: > > DirectMap4k: 3505112 kB > > DirectMap2M:19464192 kB > > DirectMap1G:12582912 kB > > DirectMap2MSplits: 1705 > > DirectMap1GSplits:20 > > This seems much more like something we'd want in /proc/vmstat or as a

Re: [PATCH v2 4/5] dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1

2021-01-25 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-15 14:44:19) > Another simple eDP panel. > > Signed-off-by: Douglas Anderson > --- With subject fixed Reviewed-by: Stephen Boyd

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:52 AM Greg Kroah-Hartman wrote: > > I have nothing else that I know of, so yes, it is easier for you to take > it directly, thanks! It's top-of-tree right now, commit 9f12e37cae44. And I just noticed I screwed up the formatting when editing the patch - after pushing

Re: [PATCH v2 3/5] drm/panel-simple: Retry if we timeout waiting for HPD

2021-01-25 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-15 14:44:18) > On an Innolux N116BCA panel that I have in front of me, sometimes HPD > simply doesn't assert no matter how long you wait for it. As per the > very wise advice of The IT Crowd ("Have you tried turning it off and > on again?") it appears that power

Re: [PATCH v2 5/5] drm/panel-simple: Add N116BCA-EA1

2021-01-25 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-15 14:44:20) > This panel is quite similar to the similarly named N116BGE panel (the > nominal timings are, in fact identical). However, let's add a new > entry because the full range of clocks listed for N116BGE aren't > supported for N116BCA-EA1, at least

Re: [PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller

2021-01-25 Thread Jonathan Neuschäfer
On Mon, Jan 25, 2021 at 08:08:04PM +0100, Andreas Kemnade wrote: > For now, the driver detects an incompatible version, but since > that can be handled by auto-detection, add the controller to the > devicetree now. Only PWM seems to be available, there is no RTC > in that controller. > >

Re: [PATCH v4 2/2] media: dt-bindings: media: i2c: Add IMX300 CMOS sensor binding

2021-01-25 Thread Rob Herring
On Wed, Jan 13, 2021 at 07:29:34PM +0100, AngeloGioacchino Del Regno wrote: > Add YAML device tree binding for IMX300 CMOS image sensor, and > the relevant MAINTAINERS entries. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/media/i2c/sony,imx300.yaml | 112

Re: [PATCH v2 2/5] drm/panel-simple: Don't wait longer for HPD than hpd_absent_delay

2021-01-25 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-15 14:44:17) > If a panel has an hpd_absent_delay specified then we know exactly how > long the maximum time is before HPD must be asserted. That means we > can use it as a timeout for polling the HPD pin instead of using an > arbitrary timeout. This is

Re: [GIT PULL] printk urgent fix for 5.11-rc6

2021-01-25 Thread pr-tracker-bot
The pull request you sent on Mon, 25 Jan 2021 15:42:29 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git > tags/printk-for-5.11-urgent-fixup has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/007ad27d7bafc6df36e1d6ad4a13f6d602376193 Thank you! --

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