RE: [PATCH 2/6] dma-mapping: add a dma_mmap_pages helper

2021-01-28 Thread David Laight
From: Christoph Hellwig > Sent: 28 January 2021 14:59 > > Add a helper to map memory allocated using dma_alloc_pages into > a user address space, similar to the dma_alloc_attrs function for > coherent allocations. > ... > +:: > + > + int > + dma_mmap_pages(struct device *dev, struct vm_ar

Re: [printk] b031a684bf: INFO:rcu_tasks_detected_stalls_on_tasks

2021-01-28 Thread John Ogness
On 2021-01-28, Petr Mladek wrote: > If you are able to reproduce this, it might be interesting to see > backtraces from all CPUs when RCU stall gets detected. Or even > printing all processes, even the sleeping ones. OK, I now have lkp running on my intel core i5 machine and it reliably reproduce

Re: [PATCH] arm64: dts: imx8mq-nitrogen: add USB support

2021-01-28 Thread Adrien Grassein
Hi Gary, Le jeu. 28 janv. 2021 à 14:30, Gary Bisson a écrit : > > Hi Adrien, > > Thanks for improving Nitrogen upstream, much appreciated. > > On Tue, Jan 26, 2021 at 10:55:11PM +0100, Adrien Grassein wrote: > > add USB support for imx8mq-nitrogen. It consists > > in 2 phys: OTG and host. > > >

Re: [PATCH v5 0/4] Add EFI_CERT_X509_GUID support for dbx/mokx entries

2021-01-28 Thread Eric Snowberg
> On Jan 28, 2021, at 8:16 AM, David Howells wrote: > > Which tree do you envision this going through? EFI or keyrings - or are you > going to ask Linus to pull it directly? I can pull it if it should go through > the keyrings tree. I was thinking it would go thru your tree, since a majority

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

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 02:29:52PM +, Christoph Hellwig wrote: > On Wed, Jan 27, 2021 at 12:51:13PM -0600, Josh Poimboeuf wrote: > > Is this a joke? I've never met anybody who builds OOT modules as a > > development aid... > > I'm pretty sure you've met me before. Yes, but I don't recall thi

Re: linux-next: Tree for Jan 28 [drivers/net/dsa/hirschmann/hellcreek_sw]

2021-01-28 Thread Randy Dunlap
On 1/28/21 1:11 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210127: > on i386: ERROR: modpost: "taprio_offload_get" [drivers/net/dsa/hirschmann/hellcreek_sw.ko] undefined! ERROR: modpost: "taprio_offload_free" [drivers/net/dsa/hirschmann/hellcreek_sw.ko] undefined! Full randco

[PATCH v2] PCI/ASPM: Disable ASPM when save/restore PCI state

2021-01-28 Thread Victor Ding
Certain PCIe devices (e.g. GL9750) have high penalties (e.g. high Port T_POWER_ON) when exiting L1 but enter L1 aggressively. As a result, such devices enter and exit L1 frequently during pci_save_state and pci_restore_state; eventually causing poor suspend/resume performance. Based on the observa

Re: linux-5.10.11 build failure

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 11:24:47AM +, Thomas Backlund wrote: > Den 28.1.2021 kl. 12:05, skrev Chris Clayton: > > > > On 28/01/2021 09:34, Greg Kroah-Hartman wrote: > >> On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton wrote: > >>> Hi, > >>> > >>> Building 5.10.11 fails on my (x86-64) la

Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2021-01-28 Thread Thomas Gleixner
On Wed, Jan 27 2021 at 10:09, Marcelo Tosatti wrote: > On Wed, Jan 27, 2021 at 12:36:30PM +, Robin Murphy wrote: >> > > >/** >> > > > * cpumask_next - get the next cpu in a cpumask >> > > > @@ -205,22 +206,27 @@ void __init >> > > > free_bootmem_cpumask_var(cpumask_var_t mask) >> > > >

Re: [PATCH][next] nfsd: fix check of statid returned from call to find_stateid_by_type

2021-01-28 Thread Chuck Lever
Hi Dan- > On Jan 28, 2021, at 10:34 AM, Dan Carpenter wrote: > > On Thu, Jan 28, 2021 at 03:05:06PM +, Chuck Lever wrote: >> Hi Colin- >> >>> On Jan 28, 2021, at 9:49 AM, Colin King wrote: >>> >>> From: Colin Ian King >>> >>> The call to find_stateid_by_type is setting the return value

Re: [PATCH] i2c: mv64xxx: Add runtime PM support

2021-01-28 Thread Ondřej Jirman
Hello Samuel, On Thu, Jan 28, 2021 at 10:22:08AM +0100, Wolfram Sang wrote: > On Sun, Jan 03, 2021 at 04:51:46AM -0600, Samuel Holland wrote: > > To save power, gate the clock when the bus is inactive, during system > > sleep, and during shutdown. On some platforms, specifically Allwinner > > A13/

Re: [PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-28 Thread Christoph Lameter
On Thu, 28 Jan 2021, Michal Hocko wrote: > > > If you kill the allocating process then yes, it would work, but your > > > process might be the very last to be selected. > > > > OOMs are different if you have a "constrained allocation". In that case it > > is the fault of the process who wanted mem

Re: [PATCH v5 1/4] certs: Add EFI_CERT_X509_GUID support for dbx entries

2021-01-28 Thread David Howells
Nayna wrote: > Thanks Eric for clarifying. I was confusing it with with the broader meaning > of revocation i.e. certificate revocation list. To avoid similar confusion in > the future, I wonder if we should call it as 'blocklist' or 'denylist' as > suggested in the document. This is to avoid con

Re: [PATCH] netdevsim: init u64 stats for 32bit hardware

2021-01-28 Thread Eric Dumazet
On 1/28/21 8:23 AM, Dmitry Vyukov wrote: > On Thu, Jan 28, 2021 at 3:43 AM Hillf Danton wrote: >> >> Init the u64 stats in order to avoid the lockdep prints on the 32bit >> hardware like > > FTR this is not just to avoid lockdep prints, but also to prevent very > real stalls in production. Ar

Re: linux-5.10.11 build failure

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 01:38:25PM +, Chris Clayton wrote: > Thanks, Thomas. > > On 28/01/2021 11:24, Thomas Backlund wrote: > > Den 28.1.2021 kl. 12:05, skrev Chris Clayton: > >> > >> On 28/01/2021 09:34, Greg Kroah-Hartman wrote: > >>> On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton

Re: [v5 PATCH 01/11] mm: vmscan: use nid from shrink_control for tracepoint

2021-01-28 Thread Vlastimil Babka
On 1/28/21 12:33 AM, Yang Shi wrote: > The tracepoint's nid should show what node the shrink happens on, the start > tracepoint > uses nid from shrinkctl, but the nid might be set to 0 before end tracepoint > if the > shrinker is not NUMA aware, so the traceing log may show the shrink happens >

Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2021-01-28 Thread Thomas Gleixner
On Wed, Jan 27 2021 at 09:19, Marcelo Tosatti wrote: > On Wed, Jan 27, 2021 at 11:57:16AM +, Robin Murphy wrote: >> > + hk_flags = HK_FLAG_DOMAIN | HK_FLAG_MANAGED_IRQ; >> > + mask = housekeeping_cpumask(hk_flags); >> >> AFAICS, this generally resolves to something based on cpu_possible_mask

Re: linux-5.10.11 build failure

2021-01-28 Thread Chris Clayton
On 28/01/2021 15:52, Josh Poimboeuf wrote: > On Thu, Jan 28, 2021 at 11:24:47AM +, Thomas Backlund wrote: >> Den 28.1.2021 kl. 12:05, skrev Chris Clayton: >>> >>> On 28/01/2021 09:34, Greg Kroah-Hartman wrote: On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton wrote: > Hi,

[PATCH] checkpatch: add warning for line space after "Fixes:" tag

2021-01-28 Thread Shradha Todi
Add a check to give warning for line break between Fixes tag and signature tags as that is the commonly followed style. Also add a --fix option to delete space lines after "Fixes:" tag. Signed-off-by: Lakshay Mehra Signed-off-by: Shradha Todi --- scripts/checkpatch.pl | 9 + 1 file cha

[PATCH] ARM: dts: am33xx: add aliases for mmc interfaces

2021-01-28 Thread Mans Rullgard
Without DT aliases, the numbering of mmc interfaces is unpredictable. Adding them makes it possible to refer to devices consistently. The popular suggestion to use UUIDs obviously doesn't work with a blank device fresh from the factory. See fa2d0aa96941 "mmc: core: Allow setting slot index via de

Re: [PATCH 1/1] net: dsa: rtl8366rb: standardize init jam tables

2021-01-28 Thread Andy Shevchenko
On Mon, Jan 25, 2021 at 7:00 AM Lorenzo Carletti wrote: > > In the rtl8366rb driver there are some jam tables which contain > undocumented values. > While trying to understand what these tables actually do, > I noticed a discrepancy in how one of those was treated. > Most of them were plain u16 ar

Re: [PATCH 2/7] ASoC: codec: lpass-rx-macro: add support for lpass rx macro

2021-01-28 Thread Mark Brown
On Thu, Jan 28, 2021 at 02:19:24PM +, Srinivas Kandagatla wrote: > snd-soc-lpass-wsa-macro-objs := lpass-wsa-macro.o > snd-soc-lpass-va-macro-objs := lpass-va-macro.o > +snd-soc-lpass-rx-macro-objs := lpass-rx-macro.o Please keep things sorted. > @@ -0,0 +1,2020 @@ > +// SPDX-License-Ident

Re: [PATCH 13/13] module: remove EXPORY_UNUSED_SYMBOL*

2021-01-28 Thread Christoph Hellwig
On Wed, Jan 27, 2021 at 02:49:38PM +0100, Jessica Yu wrote: >> #ifdef CONFIG_MODULE_SIG >> /* Signature was verified. */ >> bool sig_ok; >> @@ -592,7 +580,6 @@ struct symsearch { >> GPL_ONLY, >> WILL_BE_GPL_ONLY, >> } license; >> -bool unused; >> }; > T

Re: [v5 PATCH 02/11] mm: vmscan: consolidate shrinker_maps handling code

2021-01-28 Thread Vlastimil Babka
On 1/28/21 12:33 AM, Yang Shi wrote: > The shrinker map management is not purely memcg specific, it is at the > intersection > between memory cgroup and shrinkers. It's allocation and assignment of a > structure, > and the only memcg bit is the map is being stored in a memcg structure. So > mo

Re: [PATCH v2 1/6] dt-bindings: arm: qcom: Document SM8350 SoC and boards

2021-01-28 Thread Bjorn Andersson
On Wed 27 Jan 06:30 CST 2021, Vinod Koul wrote: > Document the SM8350 SoC binding and also the boards using it. > > Acked-by: Rob Herring > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++ > 1 file changed, 6 insertio

AW: [PATCH 1/1] mfd: da9063: Support SMBus and I2C mode

2021-01-28 Thread Jonas Mark (BT-FIR/ENG1-Grb)
Hi Adam, > > From: Hubert Streidl > > > > By default the PMIC DA9063 2-wire interface is SMBus compliant. This > > means the PMIC will automatically reset the interface when the clock > > signal ceases for more than the SMBus timeout of 35 ms. > > > > If the I2C driver / device is not capable of

Re: [RFC PATCH 4/8] x86/power: Restore Key Locker internal key from the ACPI S3/4 sleep states

2021-01-28 Thread Bae, Chang Seok
On Jan 28, 2021, at 02:34, Rafael J. Wysocki wrote: > On Wed, Dec 16, 2020 at 6:47 PM Chang S. Bae wrote: >> >> + keybackup_status = read_keylocker_backup_status(); >> + if (!(keybackup_status & BIT(0))) { >> + pr_err("x86/keylocker: internal key restoration failed with

Re: [RFC PATCH v3 01/13] af_vsock: prepare for SOCK_SEQPACKET support

2021-01-28 Thread Stefano Garzarella
I think the patch title should be more explicit, so something like vsock: generalize function to manage connectible sockets On Mon, Jan 25, 2021 at 02:11:28PM +0300, Arseny Krasnov wrote: This prepares af_vsock.c for SEQPACKET support: 1) As both stream and seqpacket sockets are connection orie

Re: [PATCH v3 1/7] gpio: gpio-ep93xx: fix BUG_ON port F usage

2021-01-28 Thread Andy Shevchenko
On Thu, Jan 28, 2021 at 2:21 PM Nikita Shubin wrote: > > The port F is index 2 not 5. > > [ cut here ] > kernel BUG at drivers/gpio/gpio-ep93xx.c:64! Perhaps you missed my message, please cut this to have only related information and not be so noisy! > Internal error: Oop

Re: [f2fs-dev] [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-28 Thread Jaegeuk Kim
On 01/28, Chao Yu wrote: > On 2021/1/22 10:17, Chao Yu wrote: > > > No, it seems this is not the case. > > Oops, could you please help to remove all below codes and do the test again > > to check whether they are the buggy codes? as I doubt there is > > use-after-free > > bug. > > Any test result

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-28 Thread Nikolay Borisov
On 28.01.21 г. 5:38 ч., Masami Hiramatsu wrote: > Hi, > > Alexei, could you tell me what is the concerning situation for bpf? Another data point masami is that this affects bpf kprobes which are entered via int3, alternatively if the kprobe is entered via kprobe_ftrace_handler it works as e

Re: [PATCH v3 2/7] gpio: gpio-ep93xx: Fix single irqchip with multi gpiochips

2021-01-28 Thread Andy Shevchenko
On Thu, Jan 28, 2021 at 2:21 PM Nikita Shubin wrote: > > Fixes the following warnings which results in interrupts disabled on > port B/F: > > gpio gpiochip1: (B): detected irqchip that is shared with multiple gpiochips: > please fix the driver. > gpio gpiochip5: (F): detected irqchip that is shar

Re: [PATCH] ARM: kprobes: rewrite in UAL

2021-01-28 Thread Arnd Bergmann
On Thu, Jan 28, 2021 at 5:44 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > Clang's integrated assembler only accepts UAL syntax, rewrite the > instructions that were changed by RVCTv2.1. > > The document "Assembly language changes after RVCTv2.1" was very > helpful. > > This exposed a bug

Re: [PATCH v3 0/7] gpio: ep93xx: fixes series patch

2021-01-28 Thread Andy Shevchenko
On Thu, Jan 28, 2021 at 2:21 PM Nikita Shubin wrote: > > v2: > https://lore.kernel.org/linux-gpio/20210127104617.1173-1-nikita.shu...@maquefel.me/ > > v2->v3 changes I stopped reviewing at some point, b/c I have a feeling that I gave you tags (and others) against some patches and none of them has

Re: [PATCH 1/1] iommu/arm-smmu-v3: add support for BBML

2021-01-28 Thread Robin Murphy
On 2021-01-28 15:18, Keqian Zhu wrote: On 2021/1/27 17:39, Robin Murphy wrote: On 2021-01-27 07:36, Keqian Zhu wrote: On 2021/1/27 10:01, Leizhen (ThunderTown) wrote: On 2021/1/26 18:12, Will Deacon wrote: On Mon, Jan 25, 2021 at 08:23:40PM +, Robin Murphy wrote: Now we probably wi

Re: [PATCH v3 6/7] gpio: ep93xx: refactor ep93xx_gpio_add_bank

2021-01-28 Thread Andy Shevchenko
On Thu, Jan 28, 2021 at 2:21 PM Nikita Shubin wrote: > - replace plain numbers with girq->num_parents in devm_kcalloc devm_kcalloc() > - replace plain numbers with girq->num_parents for port F > - refactor i - 1 to i + 1 to make loop more readable > - combine getting IRQ's loop and setting hand

[PATCH v2] drm/amdkfd: dqm fence memory corruption

2021-01-28 Thread Qu Huang
Amdgpu driver uses 4-byte data type as DQM fence memory, and transmits GPU address of fence memory to microcode through query status PM4 message. However, query status PM4 message definition and microcode processing are all processed according to 8 bytes. Fence memory only allocates 4 bytes of memo

Re: linux-next: Tree for Jan 28 (drivers/misc/bcm-vk/bcm_vk_tty.o)

2021-01-28 Thread Randy Dunlap
On 1/28/21 1:11 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210127: > on i386: ld: drivers/misc/bcm-vk/bcm_vk_tty.o: in function `bcm_vk_tty_wq_handler': bcm_vk_tty.c:(.text+0x380): undefined reference to `__tty_insert_flip_char' ld: bcm_vk_tty.c:(.text+0x3a4): undefined reference

Re: [v5 PATCH 03/11] mm: vmscan: use shrinker_rwsem to protect shrinker_maps allocation

2021-01-28 Thread Vlastimil Babka
On 1/28/21 12:33 AM, Yang Shi wrote: > Since memcg_shrinker_map_size just can be changed under holding shrinker_rwsem > exclusively, the read side can be protected by holding read lock, so it sounds > superfluous to have a dedicated mutex. > > Kirill Tkhai suggested use write lock since: > > *

Re: [PATCH v3 1/7] gpio: gpio-ep93xx: fix BUG_ON port F usage

2021-01-28 Thread Alexander Sverdlin
Hello Nikita, On Thu, 2021-01-28 at 18:11 +0200, Andy Shevchenko wrote: > > +/* > > + * F Port index in GPIOCHIP'S array is 5 > > + * but we use index 2 for stored values and offsets > > + */ > > +#define EP93XX_GPIO_F_PORT_INDEX 5 > > Hmm... Why not to use an array with holes instead. > > ... >

Re: [PATCH v5 2/3] arm64: dts: imx: Add i.mx8mm nitrogen8mm basic dts support

2021-01-28 Thread Marco Felsch
Hi Adrien, thanks for the patch. I've made only a few comments inline. On 21-01-18 12:15, Adrien Grassein wrote: > Tested with a basic Build Root configuration booting from sdcard. > > Signed-off-by: Adrien Grassein > Reviewed-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/freescale/Make

Re: [PATCH v2] f2fs: fix to keep isolation of atomic write

2021-01-28 Thread Jaegeuk Kim
On 01/20, Chao Yu wrote: > On 2021/1/20 3:06, Jaegeuk Kim wrote: > > On 01/15, Chao Yu wrote: > > > On 2021/1/15 5:53, Jaegeuk Kim wrote: > > > > On 12/30, Chao Yu wrote: > > > > > ThreadA ThreadB > > > > > - f2fs_ioc_start_atomic_write > > > > > - write > > >

[PATCH] libertas: remove redundant initialization of variable ret

2021-01-28 Thread Colin King
From: Colin Ian King The variable ret is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/net/wireless/marvell/li

Re: [PATCH v3 1/2] dts: ti: k3-j7200-main: Add support for zeroth instance of GPIO subsystem

2021-01-28 Thread Aswath Govindraju
Hi Nishanth, On 27/01/21 9:24 pm, Nishanth Menon wrote: > On 20:56-20210127, Aswath Govindraju wrote: >> Hi Nishanth, >> >> On 27/01/21 8:42 pm, Nishanth Menon wrote: >>> On 20:38-20210127, Aswath Govindraju wrote: Add support for the zeroth instance of GPIO subsystem in the main domain.

Re: [PATCH 03/13] livepatch: refactor klp_init_object

2021-01-28 Thread Christoph Hellwig
On Wed, Jan 27, 2021 at 01:58:21PM +0100, Petr Mladek wrote: > > --- a/kernel/livepatch/core.c > > +++ b/kernel/livepatch/core.c > > @@ -54,9 +54,6 @@ static void klp_find_object_module(struct klp_object *obj) > > { > > struct module *mod; > > > > - if (!klp_is_module(obj)) > > -

Re: [PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-28 Thread Michal Hocko
On Thu 28-01-21 15:56:36, Cristopher Lameter wrote: > On Thu, 28 Jan 2021, Michal Hocko wrote: > > > > > If you kill the allocating process then yes, it would work, but your > > > > process might be the very last to be selected. > > > > > > OOMs are different if you have a "constrained allocation"

Re: [PATCH 03/13] livepatch: refactor klp_init_object

2021-01-28 Thread Christoph Hellwig
On Thu, Jan 28, 2021 at 05:22:40PM +0100, Christoph Hellwig wrote: > > We need to either update the function description or keep this check. > > > > I prefer to keep the check. The function does the right thing also > > for the object "vmlinux". Also the livepatch code includes many > > similar pa

[PATCH] hrtimer: Interrupt storm on clock_settime

2021-01-28 Thread Mikael Beckius
During clock_settime absolute realtime timers may get updated to expire sooner in absolute monotonic time but if hrtimer_force_reprogram is called as part of a clock_settime and the next hard hrtimer expires before the next soft hrtimer softirq_expires_next will not be updated to reflect this chang

Re: [PATCH v2 14/14] KVM: SVM: Skip SEV cache flush if no ASIDs have been used

2021-01-28 Thread Sean Christopherson
On Thu, Jan 28, 2021, Paolo Bonzini wrote: > I can't find 00/14 in my inbox, so: queued 1-3 and 6-14, thanks. If it's not too late, v3 has a few tweaks that would be nice to have, as well as a new patch to remove the CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT dependency. https://lkml.kernel.org/r/2

Re: [PATCH RFC v1 0/3] Introduce vfio-pci-core subsystem

2021-01-28 Thread Cornelia Huck
On Tue, 26 Jan 2021 15:27:43 +0200 Max Gurtovoy wrote: > Hi Alex, Cornelia and Jason, > > thanks for the reviewing this. > > On 1/26/2021 5:34 AM, Alex Williamson wrote: > > On Mon, 25 Jan 2021 20:45:22 -0400 > > Jason Gunthorpe wrote: > > > >> On Mon, Jan 25, 2021 at 04:31:51PM -0700, Alex

Re: [PATCH] kvfree_rcu: Release page cache under memory pressure

2021-01-28 Thread Uladzislau Rezki
Hello, Zqiang. See below some nits: > > Add free per-cpu existing krcp's page cache operation, when > the system is under memory pressure. > > Signed-off-by: Zqiang > --- > kernel/rcu/tree.c | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/kernel/rcu/tree.

Re: [PATCH v12 1/8] arm64: dts: mt8183: rename rdma fifo size

2021-01-28 Thread Matthias Brugger
On 28/01/2021 12:23, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > property name must include only lowercase and '-' > > Fixes: 91f9c963ce79 ("arm64: dts: mt8183: Add display nodes for MT8183") > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang > Reviewed-by: Chun-Kuang Hu > Revi

Re: [PATCH v12 2/8] arm64: dts: mt8183: refine gamma compatible name

2021-01-28 Thread Matthias Brugger
On 28/01/2021 12:23, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > mt8183 gamma is different with mt8173 > remove mt8173 compatible name for mt8183 gamma > > Fixes: 91f9c963ce79 ("arm64: dts: mt8183: Add display nodes for MT8183") > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang

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

2021-01-28 Thread Zi Yan
On 28 Jan 2021, at 5:49, Saravanan D wrote: > To help with debugging the sluggishness caused by TLB miss/reload, > we introduce monotonic lifetime hugepage split event counts since > system state: SYSTEM_RUNNING to be displayed as part of > /proc/vmstat in x86 servers > > The lifetime split event

Re: [RFC PATCH v3 02/13] af_vsock: prepare 'vsock_connectible_recvmsg()'

2021-01-28 Thread Stefano Garzarella
On Mon, Jan 25, 2021 at 02:11:57PM +0300, Arseny Krasnov wrote: This prepares 'vsock_connectible_recvmg()' to call SEQPACKET receive loop: 1) Some shared check left in this function, then socket type specific receive loop is called. 2) Stream receive loop is moved to separate function. Signed-

Re: [PATCH v5] x86/sgx: Fix use-after-free in sgx_mmu_notifier_release()

2021-01-28 Thread Dave Hansen
On 1/28/21 4:58 AM, Jarkko Sakkinen wrote: > The most trivial example of a race condition can be demonstrated by this > sequence where mm_list contains just one entry: > > CPU A CPU B > -> sgx_release() > -> sgx_mmu_notifier_release() >

Re: linux-next: Tree for Jan 28 [drivers/net/dsa/hirschmann/hellcreek_sw]

2021-01-28 Thread Kurt Kanzenbach
On Thu Jan 28 2021, Randy Dunlap wrote: > On 1/28/21 1:11 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20210127: >> > > > on i386: > > ERROR: modpost: "taprio_offload_get" > [drivers/net/dsa/hirschmann/hellcreek_sw.ko] undefined! > ERROR: modpost: "taprio_offload_free" > [drivers/

Re: [PATCH 2/3] hid-sensor-common: Add relative sensitivity check

2021-01-28 Thread Ye, Xiang
Hi Srinivas andd Jonathan Thanks for the review. On Sun, Jan 24, 2021 at 08:20:12AM -0800, Srinivas Pandruvada wrote: > On Sun, 2021-01-24 at 13:14 +, Jonathan Cameron wrote: > > On Wed, 20 Jan 2021 15:47:05 +0800 > > Ye Xiang wrote: > > > > > Some hid sensors may use relative sensitivity s

Re: [PATCH] drm/msm/kms: Make a lock_class_key for each crtc mutex

2021-01-28 Thread Rob Clark
On Mon, Jan 25, 2021 at 3:49 PM Stephen Boyd wrote: > > Lockdep complains about an AA deadlock when rebooting the device. > > > WARNING: possible recursive locking detected > 5.4.91 #1 Not tainted > > reboot/

Re: [printk] b031a684bf: INFO:rcu_tasks_detected_stalls_on_tasks

2021-01-28 Thread Petr Mladek
On Thu 2021-01-28 16:48:29, John Ogness wrote: > On 2021-01-28, Petr Mladek wrote: > > If you are able to reproduce this, it might be interesting to see > > backtraces from all CPUs when RCU stall gets detected. Or even > > printing all processes, even the sleeping ones. > > OK, I now have lkp ru

Re: [PATCH] kernfs: Remove redundant code

2021-01-28 Thread Tejun Heo
On Thu, Jan 28, 2021 at 04:25:32PM +0800, Abaci Team wrote: > Fix the following coccicheck warnings: > > ./fs/kernfs/file.c:647:1-3: WARNING: possible condition with no effect > (if == else). > > Reported-by: Abaci Robot > Suggested-by: Jiapeng Zhong > Signed-off-by: Abaci Team > --- > fs/ker

[PATCH] iwlwifi: mvm: remove redundant initialization of variable phy_id

2021-01-28 Thread Colin King
From: Colin Ian King The variable phy_id is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/net/wireless/intel/i

Re: [RFC PATCH v2 2/2] scsi: ufs: Fix deadlock while suspending ufs host

2021-01-28 Thread Asutosh Das
On Thu, Jan 28 2021 at 04:21 -0800, Avri Altman wrote: During runtime-suspend of ufs host, the scsi devices are already suspended and so are the queues associated with them. But the ufs host sends SSU to wlun during its runtime-suspend. Do you possible meant: "sends request-sense while clearing

Re: [EXT] Re: [PATCH v4 net-next 10/19] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-01-28 Thread Russell King - ARM Linux admin
On Wed, Jan 27, 2021 at 06:41:32PM +, Stefan Chulski wrote: > > > > > > From: Stefan Chulski > > > > > > RXQ non occupied descriptor threshold would be used by Flow Control > > > Firmware feature to move to the XOFF mode. > > > RXQ non occupied threshold would change interrupt cause that pol

Greetings,

2021-01-28 Thread Dr. Daiva Jokubas
-- I'm Dr. Daiva Jokubas, did you Receive the (FUND), that was paid to you? please, do not hesitate to Let me know with your full name:.. for immediate verification notice, Thanks, Dr. Daiva Jokubas Foreign Remittance Sincerely Yours, Respectfully, Mr Bill T Winters, Group Chief Executive Offic

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

2021-01-28 Thread Dave Hansen
On 1/28/21 8:33 AM, Zi Yan wrote: >> One of the many lasting (as we don't coalesce back) sources for >> huge page splits is tracing as the granular page >> attribute/permission changes would force the kernel to split code >> segments mapped to huge pages to smaller ones thereby increasing >> the pr

Re: [PATCH 6/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2021-01-28 Thread Ricardo Ribalda
On Thu, Jan 28, 2021 at 4:03 PM Christoph Hellwig wrote: > > From: Ricardo Ribalda > > On architectures where the is no coherent caching such as ARM use the > dma_alloc_noncontiguos API and handle manually the cache flushing using > dma_sync_sgtable(). > > With this patch on the affected architec

[PATCH v2] mm/page_alloc: count CMA pages per zone and print them in /proc/zoneinfo

2021-01-28 Thread David Hildenbrand
Let's count the number of CMA pages per zone and print them in /proc/zoneinfo. Having access to the total number of CMA pages per zone is helpful for debugging purposes to know where exactly the CMA pages ended up, and to figure out how many pages of a zone might behave differently, even after som

Re: [PATCH v4 net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-28 Thread Russell King - ARM Linux admin
On Wed, Jan 27, 2021 at 01:43:16PM +0200, stef...@marvell.com wrote: > Armada hardware has a pause generation mechanism in GOP (MAC). > The GOP generate flow control frames based on an indication programmed in > Ports Control 0 Register. There is a bit per port. > However assertion of the PortX Pa

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-28 Thread Nikolay Borisov
On 28.01.21 г. 18:12 ч., Nikolay Borisov wrote: > > > On 28.01.21 г. 5:38 ч., Masami Hiramatsu wrote: >> Hi, > > > >> >> Alexei, could you tell me what is the concerning situation for bpf? > > Another data point masami is that this affects bpf kprobes which are > entered via int3, alternat

Re: [PATCH v4 net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-28 Thread Marcin Wojtas
czw., 28 sty 2021 o 17:43 Russell King - ARM Linux admin napisał(a): > > On Wed, Jan 27, 2021 at 01:43:16PM +0200, stef...@marvell.com wrote: > > Armada hardware has a pause generation mechanism in GOP (MAC). > > The GOP generate flow control frames based on an indication programmed in > > Ports

Re: [Ocfs2-devel] [RFC PATCH 02/34] block: introduce and use bio_new

2021-01-28 Thread Matthew Wilcox
FYI your email is completely unreadable to those not using html. I can't tell what you wrote and what Damien wrote. On Thu, Jan 28, 2021 at 08:33:10AM +, Chaitanya Kulkarni wrote: > On 1/27/21 11:21 PM, Damien Le Moal wrote: > > On 2021/01/28 16:12, Chaitanya Kulkarni wrote: > > > Introdu

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 06:45:56PM +0200, Nikolay Borisov wrote: > On 28.01.21 г. 18:12 ч., Nikolay Borisov wrote: > > On 28.01.21 г. 5:38 ч., Masami Hiramatsu wrote: > >> Hi, > > > > > >> > >> Alexei, could you tell me what is the concerning situation for bpf? > > > > Another data point masami

[PATCH v7 0/2] Add a Himax HX8837 display controller driver

2021-01-28 Thread Lubomir Rintel
Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. Compared to v7, points risen in review by Laurent Pinchart have been addressed. Details in change log of patch 1/2. Tested

[PATCH v7 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2021-01-28 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v6: (All based on feedback from Laurent Pinchart) - Add power supplies - Make load/stat-gpios optional - Fix whitespace errors - Use

[tip: x86/cpu] x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]

2021-01-28 Thread tip-bot2 for Sean Christopherson
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: fb35d30fe5b06cc2f0405da8fbe0be5330d1 Gitweb: https://git.kernel.org/tip/fb35d30fe5b06cc2f0405da8fbe0be5330d1 Author:Sean Christopherson AuthorDate:Fri, 22 Jan 2021 12:40:46 -08:00 Commi

[PATCH v7 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2021-01-28 Thread Lubomir Rintel
Himax HX8837 is used to drive the LCD panel on OLPC platforms. It controls the panel backlight and is able to refresh it when the LCD controller (and the rest of the plaform) is powered off. It also converts regular RGB color data from the LCDC so that it looks reasonable on the OLPC LCD panel wi

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

2021-01-28 Thread Vlastimil Babka
On 1/28/21 12:33 AM, 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_shrinker_map_size since shrinker_nr_max is also used by > iterating t

Re: [PATCH v4 00/10] Enable root to update the blacklist keyring

2021-01-28 Thread David Howells
Hi Mickaël, I could pull your patches (unless Jarkko wants to), but can you please drop the patches that are also in my keys-misc branch lest one or other (or both) of our branches get dropped in the next merge window due to conflicts? Ideally, can you base your branch on my keys-misc branch?

[PATCH V1 0/3] scsi: ufs: Add a vops to configure VCC voltage level

2021-01-28 Thread Nitin Rawat
UFS specification allows different VCC configurations for UFS devices, for example, (1)2.70V - 3.60V (For UFS 2.x devices) (2)2.40V - 2.70V (For UFS 3.x devices) For platforms supporting both ufs 2.x (2.7v-3.6v) and ufs 3.x (2.4v-2.7v), the voltage requirements (VCC) is 2.4v-3.6v. S

[PATCH V1 3/3] scsi: ufs-qcom: configure VCC voltage level in vendor file

2021-01-28 Thread Nitin Rawat
As a part of vops handler, VCC voltage is updated as per the ufs device probed after reading the device descriptor. We follow below steps to configure voltage level. 1. Set the device to SLEEP state. 2. Disable the Vcc Regulator. 3. Set the vcc voltage according to the device type and reenable

Re: [RFC PATCH v3 03/13] af_vsock: implement SEQPACKET rx loop

2021-01-28 Thread Stefano Garzarella
On Mon, Jan 25, 2021 at 02:12:36PM +0300, Arseny Krasnov wrote: This adds receive loop for SEQPACKET. It looks like receive loop for SEQPACKET, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because the

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

2021-01-28 Thread Zi Yan
On 28 Jan 2021, at 11:41, Dave Hansen wrote: > On 1/28/21 8:33 AM, Zi Yan wrote: >>> One of the many lasting (as we don't coalesce back) sources for >>> huge page splits is tracing as the granular page >>> attribute/permission changes would force the kernel to split code >>> segments mapped to hug

[PATCH V1 1/3] scsi: ufs: export api for use in vendor file

2021-01-28 Thread Nitin Rawat
Exporting functions ufshcd_set_dev_pwr_mode, ufshcd_disable_vreg and ufshcd_enable_vreg so that vendor drivers can make use of them in setting vendor specific regulator setting in vendor specific file. Signed-off-by: Nitin Rawat Signed-off-by: Bao D. Nguyen Signed-off-by: Veerabhadrarao Badigant

[PATCH V1 2/3] scsi: ufs: add a vops to configure VCC voltage level

2021-01-28 Thread Nitin Rawat
Add a vops to configure VCC voltage VCC voltage level for platform supporting both ufs2.x and ufs 3.x devices. Signed-off-by: Nitin Rawat Signed-off-by: Bao D. Nguyen Signed-off-by: Veerabhadrarao Badiganti --- drivers/scsi/ufs/ufshcd.c | 5 + drivers/scsi/ufs/ufshcd.h | 10 ++ 2

Re: [PATCH v4 2/4] mm: failfast mode with __GFP_NORETRY in alloc_contig_range

2021-01-28 Thread Minchan Kim
On Thu, Jan 28, 2021 at 08:53:25AM +0100, Michal Hocko wrote: > On Wed 27-01-21 12:42:45, Minchan Kim wrote: > > On Tue, Jan 26, 2021 at 08:44:49AM +0100, Michal Hocko wrote: > > > On Mon 25-01-21 11:33:36, Minchan Kim wrote: > > > > On Mon, Jan 25, 2021 at 02:12:00PM +0100, Michal Hocko wrote: > >

Re: [PATCH] sched/fair: Rate limit calls to update_blocked_averages() for NOHZ

2021-01-28 Thread Qais Yousef
On 01/28/21 10:09, Joel Fernandes wrote: > > > > Qais mentioned half of the time being used by > > > > sugov_next_freq_shared(). Are there any frequency changes resulting in > > > > this call ? > > > > > > I do not see a frequency update happening at the time of the problem. > > > However > > > no

WARNING in _cfg80211_unregister_wdev

2021-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1f3bdd4 net: dsa: rtl8366rb: standardize init jam tables git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12460f2cd0 kernel config: https://syzkaller.appspot.com/x/.config?x=b5f48fca2e44a9a2 dashbo

BUG: corrupted list in io_file_get

2021-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:76c057c8 Merge branch 'parisc-5.11-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11959454d0 kernel config: https://syzkaller.appspot.com/x/.config?x=96b123631a6700e9 das

WARNING in cfg80211_dev_rename

2021-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1f3bdd4 net: dsa: rtl8366rb: standardize init jam tables git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=15d2308cd0 kernel config: https://syzkaller.appspot.com/x/.config?x=b5f48fca2e44a9a2 dashbo

[PATCH] media: drxj: remove redundant assignments to variable image_to_select

2021-01-28 Thread Colin King
From: Colin Ian King The variable image_to_select is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/media/dvb-frontends/drx39xyj/drxj.c | 2 +- 1 fi

WARNING in cfg80211_change_iface

2021-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1f3bdd4 net: dsa: rtl8366rb: standardize init jam tables git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=14977d10d0 kernel config: https://syzkaller.appspot.com/x/.config?x=b5f48fca2e44a9a2 dashbo

Re: [RFC PATCH 17/34] iomap: use bio_new in iomap_dio_zero

2021-01-28 Thread Darrick J. Wong
On Wed, Jan 27, 2021 at 11:11:16PM -0800, Chaitanya Kulkarni wrote: > Signed-off-by: Chaitanya Kulkarni Looks ok to me, Reviewed-by: Darrick J. Wong --D > --- > fs/iomap/direct-io.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/fs/iomap/direct-io.c b/fs/iomap

Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2021-01-28 Thread Marcelo Tosatti
On Thu, Jan 28, 2021 at 05:02:41PM +0100, Thomas Gleixner wrote: > On Wed, Jan 27 2021 at 09:19, Marcelo Tosatti wrote: > > On Wed, Jan 27, 2021 at 11:57:16AM +, Robin Murphy wrote: > >> > +hk_flags = HK_FLAG_DOMAIN | HK_FLAG_MANAGED_IRQ; > >> > +mask = housekeeping_cpumask(hk_f

Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2021-01-28 Thread Marcelo Tosatti
On Thu, Jan 28, 2021 at 04:56:07PM +0100, Thomas Gleixner wrote: > On Wed, Jan 27 2021 at 10:09, Marcelo Tosatti wrote: > > On Wed, Jan 27, 2021 at 12:36:30PM +, Robin Murphy wrote: > >> > > >/** > >> > > > * cpumask_next - get the next cpu in a cpumask > >> > > > @@ -205,22 +206,27 @@

Re: [PATCH 6/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2021-01-28 Thread Ricardo Ribalda
HI Christoph Thanks for your comments On Thu, Jan 28, 2021 at 4:09 PM Christoph Hellwig wrote: > > I just included this patch as-is, but here are a few comments: > > On Thu, Jan 28, 2021 at 03:58:37PM +0100, Christoph Hellwig wrote: > > +static void uvc_urb_dma_sync(struct uvc_urb *uvc_urb, bool

Re: [PATCH v2 14/14] KVM: SVM: Skip SEV cache flush if no ASIDs have been used

2021-01-28 Thread Paolo Bonzini
On 28/01/21 17:29, Sean Christopherson wrote: On Thu, Jan 28, 2021, Paolo Bonzini wrote: I can't find 00/14 in my inbox, so: queued 1-3 and 6-14, thanks. If it's not too late, v3 has a few tweaks that would be nice to have, as well as a new patch to remove the CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_

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

2021-01-28 Thread Song Liu
> On Jan 28, 2021, at 8:33 AM, Zi Yan wrote: > > On 28 Jan 2021, at 5:49, Saravanan D wrote: > >> To help with debugging the sluggishness caused by TLB miss/reload, >> we introduce monotonic lifetime hugepage split event counts since >> system state: SYSTEM_RUNNING to be displayed as part of >

Re: [PATCH] clk: at91: sama5d2: Mark device OF_POPULATED after setup

2021-01-28 Thread Saravana Kannan
On Thu, Jan 28, 2021 at 2:45 AM Tudor Ambarus wrote: > > The sama5d2 requires the clock provider initialized before timers. > We can't use a platform driver for the sama5d2-pmc driver, as the > platform_bus_init() is called later on, after time_init(). > > As fw_devlink considers only devices, it

WARNING in io_uring_cancel_task_requests

2021-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d03154e8 Add linux-next specific files for 20210128 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=159d08a0d0 kernel config: https://syzkaller.appspot.com/x/.config?x=6953ffb584722a1 dashboard

  1   2   3   4   5   6   7   8   9   10   >