RE: Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu-cp110-utmi.o)

2021-04-01 Thread Kostya Porotchkin
Hi, Randy, > -Original Message- > From: Randy Dunlap > Sent: Wednesday, March 31, 2021 18:28 > To: Stephen Rothwell ; Linux Next Mailing List n...@vger.kernel.org> > Cc: Linux Kernel Mailing List ; Kostya > Porotchkin ; net...@vger.kernel.org > Subject: [EXT] Re: linux-next: Tree for Mar

[tip: x86/core] objtool: Skip magical retpoline .altinstr_replacement

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 68a59124f4c6363de619fea63231a97dd220a12c Gitweb: https://git.kernel.org/tip/68a59124f4c6363de619fea63231a97dd220a12c Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:14 +01:00 Committer

Re: [PATCH 4/6] KVM: x86: Introduce KVM_GET_SREGS2 / KVM_SET_SREGS2

2021-04-01 Thread Paolo Bonzini
On 01/04/21 19:10, Maxim Levitsky wrote: I haven't yet studied in depth the locking that is used in the kvm, so I put this to be on the safe side. I looked at it a bit and it looks like the pdptr reading code takes this lock because it accesses the memslots, which is not done here, and therefore

[PATCH v1 2/2] mmc: core: Let sanitize not retry in case of timeout/failure

2021-04-01 Thread Bean Huo
From: Bean Huo Not any commands need to retry in case of timeout/failure. Currently, the sanitize command is issued by the IOCTL interface, and once its timeouts, the user normally decides to retry or not . Just blindly retry three times sanitize in the driver, it doesn't help sanitize retry succ

Re: [PATCH V2 1/3] pinctrl: qcom: spmi-gpio: Add support for four variants

2021-04-01 Thread Bjorn Andersson
On Thu 01 Apr 07:35 CDT 2021, satya priya wrote: > Add PM7325, PM8350c, PMK8350 and PMR735A compatibles for GPIO > support. > > Signed-off-by: satya priya > Acked-by: Bjorn Andersson > --- > Changes in V2: > - No change. > > drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 > 1 file changed

Re: [PATCH 08/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_cmd.c

2021-04-01 Thread Fabio Aiuto
On Thu, Apr 01, 2021 at 05:32:36PM +0300, Dan Carpenter wrote: > On Thu, Apr 01, 2021 at 03:55:37PM +0200, Fabio Aiuto wrote: > > > > Hi Dan, > > > > I have the following: > > > > if (rtw_createbss_cmd(adapter) != _SUCCESS) > > - RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("Error

[PATCH 0/9] sched: Core scheduling interfaces

2021-04-01 Thread Peter Zijlstra
Hi, This is a rewrite of the core sched interface bits, and mostly replaces patches 2-5 from this set here: https://lkml.kernel.org/r/20210324214020.34142-1-j...@joelfernandes.org The task interface is extended to include PR_SCHED_CORE_GET, because the selftest. Otherwise the task interface is

RE: [PATCH v8 3/6] stack: Optionally randomize kernel stack offset each syscall

2021-04-01 Thread David Laight
From: Will Deacon > Sent: 01 April 2021 09:31 ... > > +/* > > + * These macros must be used during syscall entry when interrupts and > > + * preempt are disabled, and after user registers have been stored to > > + * the stack. > > + */ > > +#define add_random_kstack_offset() do {

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-04-01 Thread Ahmad Fatoum
Hello Richard, Sumit, On 01.04.21 15:17, Richard Weinberger wrote: > Sumit, > > - Ursprüngliche Mail - >> Von: "Sumit Garg" >> IIUC, this would require support for multiple trusted keys backends at >> runtime but currently the trusted keys subsystem only supports a >> single backend whic

Re: [PATCH RESEND 0/3] x86/sgx: eextend ioctl

2021-04-01 Thread Dave Hansen
On 4/1/21 7:56 AM, Raoul Strackx wrote: > > SOLUTION OF THIS PATCH > This patch adds a new ioctl to enable userspace to execute EEXTEND leaf > functions per 256 bytes of enclave memory. This enables enclaves to be > build as specified by enclave providers. I think tying the user ABI to the SGX

[PATCH] iio: adc: stm32-dfsdm: drop __func__ while using Dynamic debug

2021-04-01 Thread Mugilraj Dhavachelvan
dropped __func__ while using dev_dbg() and pr_debug() Signed-off-by: Mugilraj Dhavachelvan --- drivers/iio/adc/stm32-dfsdm-adc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c index 76a60d93fe2

[efitools PATCH 1/1] Make.rules: enable building on riscv64

2021-04-01 Thread Heinrich Schuchardt
We can use just the same flags as for aarch64. Signed-off-by: Heinrich Schuchardt --- RISC-V patches for gnu-efi are not yet accepted in upstream. Cf. [Gnu-efi-discuss] [PATCH 1/1] Initial support for RISCV64 https://sourceforge.net/p/gnu-efi/mailman/gnu-efi-discuss/thread/20210401153553.103286-

[PATCH] drbd: Fix a use after free in get_initial_state

2021-04-01 Thread Lv Yunlong
In get_initial_state, it calls notify_initial_state_done(skb,..) if cb->args[5]==1. I see that if genlmsg_put() failed in notify_initial_state_done(), the skb will be freed by nlmsg_free(skb). Then get_initial_state will goto out and the freed skb will be used by return value skb->len. My patch le

[PATCH 5/9] sched: prctl() core-scheduling interface

2021-04-01 Thread Peter Zijlstra
From: Chris Hyser This patch provides support for setting, clearing and copying core scheduling 'task cookies' between threads (PID), processes (TGID), and process groups (PGID). The value of core scheduling isn't that tasks don't share a core, 'nosmt' can do that. The value lies in exploiting a

Re: [PATCH v5 05/10] coresight: syscfg: Add API to activate and enable configurations

2021-04-01 Thread Mathieu Poirier
On Tue, Mar 16, 2021 at 06:03:55PM +, Mike Leach wrote: > Configurations are first activated, then when any coresight device is > enabled, the active configurations are checked and any matching > one is enabled. > > This patch provides the activation / enable API. > > Signed-off-by: Mike Leac

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jean-Philippe Brucker
On Thu, Apr 01, 2021 at 07:04:01AM +, Liu, Yi L wrote: > > - how about AMD and ARM's vSVA support? Their PASID allocation and page > > table > > happens within guest. They only need to bind the guest PASID table to > > host. In this case each VM has its own IOASID space, and the host IOASID

[PATCH v8 04/13] media: hevc: Add fields and flags for hevc PPS

2021-04-01 Thread Benjamin Gaignard
Add fields and flags as they are defined in 7.4.3.3.1 "General picture parameter set RBSP semantics of the H.265 ITU specification. Signed-off-by: Benjamin Gaignard Reviewed-by: Ezequiel Garcia --- version 8: - add Ezequiel review tag .../userspace-api/media/v4l/ext-ctrls-codec.rst| 14 ++

[PATCH 2/4] KVM: x86: separate pending and injected exception

2021-04-01 Thread Maxim Levitsky
Use 'pending_exception' and 'injected_exception' fields to store the pending and the injected exceptions. After this patch still only one is active, but in the next patch both could co-exist in some cases. Signed-off-by: Maxim Levitsky --- arch/x86/include/asm/kvm_host.h | 25 -- arch/x86/

Re: [PATCH 0/6] Allow signals for IO threads

2021-04-01 Thread Linus Torvalds
On Thu, Apr 1, 2021 at 7:58 AM Stefan Metzmacher wrote: > > > > > Ok, the following makes gdb happy again: > > > > --- a/arch/x86/kernel/process.c > > +++ b/arch/x86/kernel/process.c > > @@ -163,6 +163,8 @@ int copy_thread(unsigned long clone_flags, unsigned > > long sp, unsigned long arg, > >

Re: [PATCH 08/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_cmd.c

2021-04-01 Thread Fabio Aiuto
On Thu, Apr 01, 2021 at 12:50:18PM +0300, Dan Carpenter wrote: > On Thu, Apr 01, 2021 at 11:20:38AM +0200, Fabio Aiuto wrote: > > @@ -677,9 +663,8 @@ u8 rtw_createbss_cmd(struct adapter *padapter) > > u8 res = _SUCCESS; > > > > if (pmlmepriv->assoc_ssid.SsidLength == 0) > > - R

Re: [PATCH 08/13] KVM: x86/mmu: Protect the tdp_mmu_roots list with RCU

2021-04-01 Thread Ben Gardon
rc5] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: > https://github.com/0day-ci/linux/commits/Ben-Gardon/More

[tip: x86/core] objtool: Implicitly create reloc sections

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: aef0f13e96db08f31be6b96d28e761df46d86ff4 Gitweb: https://git.kernel.org/tip/aef0f13e96db08f31be6b96d28e761df46d86ff4 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:08 +01:00 Committer

[PATCH v9 4/4] mtd: rawnand: qcom: Add missing nand_cleanup() in error path

2021-04-01 Thread Manivannan Sadhasivam
Add missing nand_cleanup() in the alloc_bam_transaction() error path to cleanup the resources properly. Signed-off-by: Manivannan Sadhasivam --- drivers/mtd/nand/raw/qcom_nandc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_na

Re: [PATCH v5 00/27] Memory Folios

2021-04-01 Thread Matthew Wilcox
On Thu, Apr 01, 2021 at 05:05:37AM +, Al Viro wrote: > On Tue, Mar 30, 2021 at 10:09:29PM +0100, Matthew Wilcox wrote: > > > That's a very Intel-centric way of looking at it. Other architectures > > support a multitude of page sizes, from the insane ia64 (4k, 8k, 16k, then > > every power of

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-04-01 Thread Sumit Garg
Hi Richard, On Wed, 31 Mar 2021 at 03:34, Richard Weinberger wrote: > > Ahmad, > > On Wed, Mar 17, 2021 at 3:08 PM Ahmad Fatoum wrote: > > keyctl add trusted $KEYNAME "load $(cat ~/kmk.blob)" @s > > Is there a reason why we can't pass the desired backend name in the > trusted key parameters?

Re: [PATCH v7 5/8] mm: Device exclusive memory access

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:20:05PM +1100, Alistair Popple wrote: > On Thursday, 1 April 2021 11:48:13 AM AEDT Jason Gunthorpe wrote: > > On Thu, Apr 01, 2021 at 11:45:57AM +1100, Alistair Popple wrote: > > > On Thursday, 1 April 2021 12:46:04 AM AEDT Jason Gunthorpe wrote: > > > > On Thu, Apr 01, 2

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 04:38:44AM +, Liu, Yi L wrote: > > From: Jason Gunthorpe > > Sent: Wednesday, March 31, 2021 8:41 PM > > > > On Wed, Mar 31, 2021 at 07:38:36AM +, Liu, Yi L wrote: > > > > > The reason is /dev/ioasid FD is per-VM since the ioasid allocated to > > > the VM should b

Re: Re: Re: [Drbd-dev] [PATCH] drbd: Fix a use after free in get_initial_state

2021-04-01 Thread lyl2019
> -原始邮件- > 发件人: lyl2...@mail.ustc.edu.cn > 发送时间: 2021-04-01 23:13:58 (星期四) > 收件人: "Christoph Böhmwalder" > 抄送: philipp.reis...@linbit.com, lars.ellenb...@linbit.com, ax...@kernel.dk, > linux-bl...@vger.kernel.org, linux-kernel@vger.kernel.org, > drbd-...@lists.linbit.com > 主题: Re: Re:

[PATCH 1/4] KVM: x86: pending exceptions must not be blocked by an injected event

2021-04-01 Thread Maxim Levitsky
Injected interrupts/nmi should not block a pending exception, but rather be either lost if nested hypervisor doesn't intercept the pending exception (as in stock x86), or be delivered in exitintinfo/IDT_VECTORING_INFO field, as a part of a VMexit that corresponds to the pending exception. The only

[PATCH 4/4] KVM: x86: remove tweaking of inject_page_fault

2021-04-01 Thread Maxim Levitsky
This is no longer needed since page faults can now be injected as regular exceptions in all the cases. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/nested.c | 20 arch/x86/kvm/vmx/nested.c | 23 --- 2 files changed, 43 deletions(-) diff --git a/arc

[PATCH 3/4] KVM: x86: correctly merge pending and injected exception

2021-04-01 Thread Maxim Levitsky
Allow the pending and the injected exceptions to co-exist when they are raised. Add 'kvm_deliver_pending_exception' function which 'merges' the pending and injected exception or delivers a VM exit with both for a case when the L1 intercepts the pending exception. The later is done by vendor code

[PATCH 1/1] use crc32 instead of md5 for hibernation e820 integrity check

2021-04-01 Thread Chris von Recklinghausen
Suspend fails on a system in fips mode because md5 is used for the e820 integrity check and is not available. Use crc32 instead. Fixes: 62a03defeabd ("PM / hibernate: Verify the consistent of e820 memory map by md5 digest") Signed-off-by: Chris von Recklinghausen --- arch/x86/power/hibern

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

2021-04-01 Thread nitirawa
On 2021-03-31 23:49, Bjorn Andersson wrote: On Wed 24 Mar 16:55 CDT 2021, nitir...@codeaurora.org wrote: On 2021-03-23 20:58, Bjorn Andersson wrote: > On Sun 21 Mar 16:57 CDT 2021, Nitin Rawat wrote: > > > As a part of vops handler, VCC voltage is updated > > as per the ufs device probed after

[PATCH v2 2/2] mmc: core: Let sanitize not retry in case timeout

2021-04-01 Thread Bean Huo
From: Bean Huo Not any commands need to retry in case of timeout/failure. Currently, the sanitize command is issued by the IOCTL interface, and once its timeouts, the user normally decides to retry or not . Just blindly retry three times sanitize in the driver, it doesn't help sanitize retry succ

Re: [PATCH 23/32] MAINTAINERS: update ovti,ov2680.yaml reference

2021-04-01 Thread Rui Miguel Silva
Hi Mauro, Thanks for fixing this. On Thu, Apr 01, 2021 at 02:17:43PM +0200, Mauro Carvalho Chehab wrote: > The file name: Documentation/devicetree/bindings/media/i2c/ov2680.yaml > should be, instead: > Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml. > > Update its cross-reference a

[tip: x86/core] objtool: Add elf_create_reloc() helper

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 7508e2958a82675e75e34221c26ad4242d4ef283 Gitweb: https://git.kernel.org/tip/7508e2958a82675e75e34221c26ad4242d4ef283 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:07 +01:00 Committer

Re: [PATCH v4 5/6] PCI: fu740: Add SiFive FU740 PCIe host controller driver

2021-04-01 Thread Rob Herring
On Thu, Apr 01, 2021 at 02:00:53PM +0800, Greentime Hu wrote: > From: Paul Walmsley > > Add driver for the SiFive FU740 PCIe host controller. > This controller is based on the DesignWare PCIe core. > > Signed-off-by: Paul Walmsley > Co-developed-by: Henry Styles > Signed-off-by: Henry Styles

Re: [PATCH v2 2/6] dt-bindings: memory: tegra30: emc: Replace core regulator with power domain

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 02:04:41 +0300, Dmitry Osipenko wrote: > Power domain fits much better than a voltage regulator in regards to > a proper hardware description and from a software perspective as well. > Hence replace the core regulator with the power domain. Note that this > doesn't affect any ex

Re: [PATCH v2 04/15] ACPI: table: replace __attribute__((packed)) by __packed

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 4:23 PM David Laight wrote: > > From: Rafael J. Wysocki > > Sent: 01 April 2021 14:50 > ... > > So what exactly is wrong with using "packed"? It is way easier to > > understand for a casual reader of the code. > > Because it is usually wrong! > > If I have: > struct

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

2021-04-01 Thread Bjorn Andersson
On Thu 01 Apr 09:58 CDT 2021, nitir...@codeaurora.org wrote: > On 2021-03-31 23:49, Bjorn Andersson wrote: > > On Wed 24 Mar 16:55 CDT 2021, nitir...@codeaurora.org wrote: > > > > > On 2021-03-23 20:58, Bjorn Andersson wrote: > > > > On Sun 21 Mar 16:57 CDT 2021, Nitin Rawat wrote: > > > > > > >

[PATCH 3/3] platform/x86: Adjust Dell drivers to a personal email address

2021-04-01 Thread Mario Limonciello
So that I can always be reached in the future if necessary, add a personal email address. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell/alienware-wmi.c | 2 +- drivers/platform/x86/dell/dell-smbios-base.c | 2 +- drivers/platform/x86/dell/dell-wmi-descriptor.c

Re: [PATCH printk v2 4/5] printk: convert @syslog_lock to mutex

2021-04-01 Thread Petr Mladek
On Tue 2021-03-30 17:35:11, John Ogness wrote: > @syslog_lock was a raw_spin_lock to simplify the transition of > removing @logbuf_lock and the safe buffers. With that transition > complete, and since all uses of @syslog_lock are within sleepable > contexts, @syslog_lock can become a mutex. It mak

Re: [PATCH printk v2 2/5] printk: remove safe buffers

2021-04-01 Thread Petr Mladek
On Thu 2021-04-01 15:19:52, John Ogness wrote: > On 2021-04-01, Petr Mladek wrote: > >> --- a/kernel/printk/printk.c > >> +++ b/kernel/printk/printk.c > >> @@ -1142,24 +1128,37 @@ void __init setup_log_buf(int early) > >> new_descs, ilog2(new_descs_count), > >> new_infos);

[PATCH v9 2/4] dt-bindings: mtd: Add a property to declare secure regions in NAND chips

2021-04-01 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

[tip: x86/core] objtool: Handle per arch retpoline naming

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 3b652980a250c1ed9e0c361750f029781831cdc3 Gitweb: https://git.kernel.org/tip/3b652980a250c1ed9e0c361750f029781831cdc3 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:04 +01:00 Committer

[PATCH 0/2] KVM: x86: nSVM: fixes for SYSENTER emulation

2021-04-01 Thread Maxim Levitsky
This is a result of a deep rabbit hole dive in regard to why currently the nested migration of 32 bit guests is totally broken on AMD. It turns out that due to slight differences between the original AMD64 implementation and the Intel's remake, SYSENTER instruction behaves a bit differently on Int

[PATCH v8 06/13] media: hantro: change hantro_codec_ops run prototype to return errors

2021-04-01 Thread Benjamin Gaignard
Change hantro_codec_ops run prototype from 'void' to 'int'. This allow to cancel the job if an error occur while configuring the hardware. Signed-off-by: Benjamin Gaignard Reviewed-by: Ezequiel Garcia --- version 8: - add Ezequiel review tag version 5: - forward hantro_h264_dec_prepare_run()

[PATCH 1/2] KVM: x86: add guest_cpuid_is_intel

2021-04-01 Thread Maxim Levitsky
This is similar to existing 'guest_cpuid_is_amd_or_hygon' Signed-off-by: Maxim Levitsky --- arch/x86/kvm/cpuid.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index 2a0c5064497f..ded84d244f19 100644 --- a/arch/x86/kvm/cpuid.h +++ b/arch/x

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

2021-04-01 Thread nitirawa
On 2021-03-31 23:30, Asutosh Das (asd) wrote: On 3/21/2021 2:57 PM, Nitin Rawat wrote: Add a vops to configure VCC voltage VCC voltage level for platform supporting both ufs2.x and ufs 3.x devices. Suggested-by: Stanley Chu Suggested-by: Asutosh Das Suggested-by: Bjorn Andersson Signed-off-b

[PATCH v2] Documentation/translations/zh_CN/dev-tools/

2021-04-01 Thread Bernard Zhao
Add translations to dev-tools gcov Signed-off-by: Bernard Zhao Reviewed-by: Wu X.C --- Changes since V1: * add index.rst in dev-tools and link to to zh_CN/index.rst * fix some inaccurate translation Link for V1: *https://lore.kernel.org/patchwork/patch/1405740/ --- .../translations/zh_CN/dev-t

Re: [PATCH v5] audit: log nftables configuration change events once per table

2021-04-01 Thread Phil Sutter
On Fri, Mar 26, 2021 at 01:38:59PM -0400, Richard Guy Briggs wrote: > Reduce logging of nftables events to a level similar to iptables. > Restore the table field to list the table, adding the generation. > > Indicate the op as the most significant operation in the event. > > A couple of sample ev

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 04:37:52PM +0530, Manivannan Sadhasivam wrote: > + Matheus > > On Thu, Apr 01, 2021 at 01:58:05PM +0300, Cristian Ciocaltea wrote: > > Hi Mani, Andreas, > > > > On Thu, Apr 01, 2021 at 12:49:37PM +0200, Andreas Färber wrote: > > > Hi, > > > > > > On 01.04.21 12:27, Maniva

Re: [PATCH] mm/hugeltb: fix renaming of PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2021-04-01 Thread Pavel Tatashin
On Wed, Mar 31, 2021 at 12:38 PM Mike Rapoport wrote: > > From: Mike Rapoport > > The renaming of PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN missed one occurrence > in mm/hugetlb.c which causes build error: > > CC mm/hugetlb.o > mm/hugetlb.c: In function ‘dequeue_huge_page_node_exact’: > mm/huge

Re: [PATCH 04/32] MAINTAINERS: update fsl,dpaa2-console.yaml reference

2021-04-01 Thread Laurentiu Tudor
On 4/1/2021 3:17 PM, Mauro Carvalho Chehab wrote: > Changeset 616fde2dd60f ("dt-bindings: misc: convert fsl,dpaa2-console from > txt to YAML") > renamed: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt > to: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml. > > Update

Re: [PATCH] cifsd: use kfree to free memory allocated by kzalloc

2021-04-01 Thread Dan Carpenter
On Thu, Apr 01, 2021 at 04:39:33PM +0500, Muhammad Usama Anjum wrote: > kfree should be used to free memory allocated by kzalloc to avoid > any overhead and for maintaining consistency. > > Fixes: 5dfeb6d945 ("cifsd: use kmalloc() for small allocations") > Signed-off-by: Muhammad Usama Anjum > --

[tip: x86/core] objtool: Extract elf_strtab_concat()

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 557c25be3588971caf21364b6fd240769e37c47c Gitweb: https://git.kernel.org/tip/557c25be3588971caf21364b6fd240769e37c47c Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:09 +01:00 Committer

[GIT PULL] XArray for 5.12

2021-04-01 Thread Matthew Wilcox
My apologies for the lateness of this pull. I had a bug reported in the test suite, and when I started working on it, I realised I had two fixes sitting in the xarray tree since last November. Anyway, everything here is fixes, apart from adding xa_limit_16b. The test suite passes. The followi

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-04-01 Thread Bartosz Golaszewski
On Thu, Apr 1, 2021 at 3:08 PM Linus Walleij wrote: > > On Tue, Mar 30, 2021 at 10:58 AM Wolfram Sang > wrote: > > > This is a simple logic analyzer using GPIO polling. It comes with a > > script to isolate a CPU for polling. While this is definately not a > > production level analyzer, it can be

[tip: x86/core] objtool/x86: Rewrite retpoline thunk calls

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: f31390437ce984118215169d75570e365457ec23 Gitweb: https://git.kernel.org/tip/f31390437ce984118215169d75570e365457ec23 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:15 +01:00 Committer

[tip: x86/core] objtool: Extract elf_symbol_add()

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: d56a3568827ec4b8efcbcfc46fdc944995b6dcf1 Gitweb: https://git.kernel.org/tip/d56a3568827ec4b8efcbcfc46fdc944995b6dcf1 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:10 +01:00 Committer

Re: [PATCH 32/32] pinctrl: update pin-control.rst references

2021-04-01 Thread Charles Keepax
On Thu, Apr 01, 2021 at 02:17:52PM +0200, Mauro Carvalho Chehab wrote: > Changeset 5513b411ea5b ("Documentation: rename pinctl to pin-control") > renamed: Documentation/driver-api/pinctl.rst > to: Documentation/driver-api/pin-control.rst. > > Update the cross-references accordingly. > > Fixes: 55

Re: [PATCH 4/6] KVM: x86: Introduce KVM_GET_SREGS2 / KVM_SET_SREGS2

2021-04-01 Thread Maxim Levitsky
On Thu, 2021-04-01 at 16:44 +0200, Paolo Bonzini wrote: > Just a quick review on the API: > > On 01/04/21 16:18, Maxim Levitsky wrote: > > +struct kvm_sregs2 { > > + /* out (KVM_GET_SREGS2) / in (KVM_SET_SREGS2) */ > > + struct kvm_segment cs, ds, es, fs, gs, ss; > > + struct kvm_segment tr,

Re: [PATCH v17 01/17] RISC-V: Add hypervisor extension related CSR defines

2021-04-01 Thread Paolo Bonzini
On 01/04/21 15:34, Anup Patel wrote: This patch extends asm/csr.h by adding RISC-V hypervisor extension related defines. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- arch/riscv/include/asm/csr.h | 89 ++

[PATCH 0/1] use crc32 instead of md5 for hibernation e820 integrity check

2021-04-01 Thread Chris von Recklinghausen
Currently, suspend on x86_64 fails when FIPS mode is enabled because it uses md5 to generate a digest of the e820 region. MD5 is not FIPS compliant so an error is reported and the suspend fails. MD5 is used only to create a digest to ensure integrity of the region, no actual encryption is done. Th

[PATCH 0/4] KVM: nSVM/nVMX: fix nested virtualization treatment of nested exceptions

2021-04-01 Thread Maxim Levitsky
clone of "kernel-starship-5.12.unstable" Maxim Levitsky (4): KVM: x86: pending exceptions must not be blocked by an injected event KVM: x86: separate pending and injected exception KVM: x86: correctly merge pending and injected exception KVM: x86: remove tweaking of inject_page_fault arc

Re: [PATCH] arm64: perf: Remove redundant initialization in perf_event.c

2021-04-01 Thread Will Deacon
On Thu, 1 Apr 2021 19:16:41 +0800, Qi Liu wrote: > The initialization of value in function armv8pmu_read_hw_counter() > and armv8pmu_read_counter() seem redundant, as they are soon updated. > So, We can remove them. Applied to will (for-next/perf), thanks! [1/1] arm64: perf: Remove redundant init

Re: [PATCH 30/32] Documentation: net: dsa: update configuration.rst reference

2021-04-01 Thread Mauro Carvalho Chehab
Em Thu, 1 Apr 2021 14:41:15 +0200 Andrew Lunn escreveu: > On Thu, Apr 01, 2021 at 02:17:50PM +0200, Mauro Carvalho Chehab wrote: > > The file name: Documentation/configuration.txt > > should be, instead: Documentation/networking/dsa/configuration.rst. > > > > Update its cross-reference according

[PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-04-01 Thread Dinh Nguyen
From: Krzysztof Kozlowski The Stratix10 service layer and RCU drivers are useful only on Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM fails: drivers/firmware/stratix10-rsu.c: In function 'rsu_status_callback': include/linux/compiler_types.h:320:38: error: call to '_

[PATCH v14 3/6] locking/qspinlock: Introduce CNA into the slow path of qspinlock

2021-04-01 Thread Alex Kogan
In CNA, spinning threads are organized in two queues, a primary queue for threads running on the same node as the current lock holder, and a secondary queue for threads running on other nodes. After acquiring the MCS lock and before acquiring the spinlock, the MCS lock holder checks whether the nex

Re: [RFC PATCH v1 4/4] arm64: Mark stack trace as unreliable if kretprobed functions are present

2021-04-01 Thread Mark Brown
On Tue, Mar 30, 2021 at 02:09:55PM -0500, madve...@linux.microsoft.com wrote: > From: "Madhavan T. Venkataraman" > > When a kretprobe is active for a function, the function's return address > in its stack frame is modified to point to the kretprobe trampoline. When > the function returns, the fra

Re: [PATCH v3 3/4] MIPS: uaccess: Remove get_fs/set_fs call sites

2021-04-01 Thread Christoph Hellwig
On Thu, Apr 01, 2021 at 02:56:36PM +0200, Thomas Bogendoerfer wrote: > Use new helpers to access user/kernel for functions, which are used with > user/kernel pointers. Instead of dealing with get_fs/set_fs select > user/kernel access via parameter. Looks good, Reviewed-by: Christoph Hellwig

[PATCH v10 1/4] dt-bindings: mtd: Convert Qcom NANDc binding to YAML

2021-04-01 Thread Manivannan Sadhasivam
Convert Qcom NANDc devicetree binding to YAML. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../devicetree/bindings/mtd/qcom,nandc.yaml | 196 ++ .../devicetree/bindings/mtd/qcom_nandc.txt| 142 - 2 files changed, 196 insertions(+), 142 del

[PATCH] drivers: net: fix memory leak in peak_usb_create_dev

2021-04-01 Thread Pavel Skripkin
syzbot reported memory leak in peak_usb. The problem was in case of failure after calling ->dev_init()[2] in peak_usb_create_dev()[1]. The data allocated int dev_init() wasn't freed, so simple ->dev_free() call fix this problem. backtrace: [<79d6542a>] kmalloc include/linux/slab.h:552

Re: [PATCH v16 00/17] KVM RISC-V Support

2021-04-01 Thread Anup Patel
On Wed, Mar 31, 2021 at 2:52 PM Paolo Bonzini wrote: > > On 30/03/21 07:48, Anup Patel wrote: > > > > It seems Andrew does not want to freeze H-extension until we have > > virtualization > > aware interrupt controller (such as RISC-V AIA specification) and IOMMU. Lot > > of us feel that these thi

Re: [PATCH v3 4/4] MIPS: Remove get_fs/set_fs

2021-04-01 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [RFC PATCH v1 3/4] arm64: Detect FTRACE cases that make the stack trace unreliable

2021-04-01 Thread Madhavan T. Venkataraman
On 4/1/21 9:27 AM, Mark Brown wrote: > On Tue, Mar 30, 2021 at 02:09:54PM -0500, madve...@linux.microsoft.com wrote: > >> + * FTRACE trampolines. >> + */ >> +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS >> +{ (unsigned long) &ftrace_graph_call, 0 }, >> +#ifdef CONFIG_FUNCTION_GRAPH_TRACER

Re: [Freedreno] [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-04-01 Thread Dmitry Baryshkov
On Thu, 1 Apr 2021 at 16:19, wrote: > > On 2021-04-01 07:37, Dmitry Baryshkov wrote: > > On 01/04/2021 01:47, Rob Clark wrote: > >> On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov > >> wrote: > >>> > >>> On 31/03/2021 14:27, Kalyan Thota wrote: > WARN_ON was introduced by the below commit t

Re: [Freedreno] [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-04-01 Thread kalyan_t
On 2021-04-01 07:37, Dmitry Baryshkov wrote: On 01/04/2021 01:47, Rob Clark wrote: On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov wrote: On 31/03/2021 14:27, Kalyan Thota wrote: WARN_ON was introduced by the below commit to catch runtime resumes that are getting triggered before icc path w

Re: [PATCH] btrfs: Remove useless call "zlib_inflateEnd"

2021-04-01 Thread David Sterba
On Tue, Mar 30, 2021 at 06:17:01PM +0800, Jiapeng Chong wrote: > Fix the following whitescan warning: > > Calling "zlib_inflateEnd(&workspace->strm)" is only useful for its > return value, which is ignored. According to the zlib API documentation in include/linux/zlib.h 301 extern int zlib_defla

Re: [PATCH printk v2 2/5] printk: remove safe buffers

2021-04-01 Thread Petr Mladek
On Tue 2021-03-30 17:35:09, John Ogness wrote: > With @logbuf_lock removed, the high level printk functions for > storing messages are lockless. Messages can be stored from any > context, so there is no need for the NMI and safe buffers anymore. > Remove the NMI and safe buffers. > > Although the

[tip: x86/core] x86/alternatives: Optimize optimize_nops()

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: b4da5166b084f3fac01d68e0e67cbf3bf78a3e12 Gitweb: https://git.kernel.org/tip/b4da5166b084f3fac01d68e0e67cbf3bf78a3e12 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:01 +01:00 Committer

[tip: x86/core] objtool: Correctly handle retpoline thunk calls

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: db9d1dd670d7f3f146c654f289f20968af6a12de Gitweb: https://git.kernel.org/tip/db9d1dd670d7f3f146c654f289f20968af6a12de Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:03 +01:00 Committer

Re: [External] Re: [PATCH v2] writeback: fix obtain a reference to a freeing memcg css

2021-04-01 Thread Muchun Song
On Thu, Apr 1, 2021 at 6:26 PM Michal Hocko wrote: > > On Thu 01-04-21 17:33:43, Muchun Song wrote: > > The caller of wb_get_create() should pin the memcg, because > > wb_get_create() relies on this guarantee. The rcu read lock > > only can guarantee that the memcg css returned by css_from_id() >

Re: [PATCH 1/1] use crc32 instead of md5 for hibernation e820 integrity check

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 2:25 PM Chris von Recklinghausen wrote: > > Suspend fails on a system in fips mode because md5 is used for the e820 > integrity check and is not available. Use crc32 instead. > > Fixes: 62a03defeabd ("PM / hibernate: Verify the consistent of e820 memory map >by md5 d

Re: [RFC PATCH v2 1/2] dt-bindings: usb: Add DT bindings for Microchip sama7g5 tcpc

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 11:54:41PM +0300, cristian.bir...@microchip.com wrote: > From: Cristian Birsan > > This patch adds DT bindings for the new Microchip USB Type-C Port > Controller (TCPC) embedded in sama7g5 SoC. > > Signed-off-by: Cristian Birsan > --- > .../bindings/usb/microchip,sama7g

Re: [PATCH 1/3] arm64: dts: xilinx: Add the clock nodes for zynqmp

2021-04-01 Thread Jan Kiszka
On 01.04.21 13:42, Michal Simek wrote: > Hi Jan, > > On 3/27/21 8:55 PM, Jan Kiszka wrote: >> On 07.11.19 10:44, Rajan Vaja wrote: >>> Add clock nodes for zynqmp based on CCF. >>> >>> Signed-off-by: Rajan Vaja >>> --- >>> arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 222 >>> +

[RFC v2 2/2] selftest/cpuidle: Add support for cpuidle latency measurement

2021-04-01 Thread Pratik Rajesh Sampat
The cpuidle latency selftest provides support to systematically extract, analyse and present IPI and timer based wakeup latencies for each CPU and each idle state available on the system. The selftest leverages test-cpuidle_latency module's debugfs interface to interact and extract latency informa

[PATCH v2 1/2] mmc: core: Let sanitize timeout readable/writable via sysfs

2021-04-01 Thread Bean Huo
From: Bean Huo As the density increases, the 4-minute timeout value for sanitize is no longer feasible. At the same time, devices of different densities have different timeout values, and it is difficult to obtain a unified standard timeout value. Therefore, it is better to let the user explicitl

Re: [PATCH v14 06/13] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs

2021-04-01 Thread Kunkun Jiang
Hi Eric, On 2021/2/24 4:56, Eric Auger wrote: With nested stage support, soon we will need to invalidate S1 contexts and ranges tagged with an unmanaged asid, this latter being managed by the guest. So let's introduce 2 helpers that allow to invalidate with externally managed ASIDs Signed-off-b

Re: [PATCH V4 XRT Alveo 11/20] fpga: xrt: fpga-mgr and region implementation for xclbin download

2021-04-01 Thread Tom Rix
small alloc's should use kzalloc. On 3/23/21 10:29 PM, Lizhi Hou wrote: > fpga-mgr and region implementation for xclbin download which will be > called from main platform driver > > Signed-off-by: Sonal Santan > Signed-off-by: Max Zhen > Signed-off-by: Lizhi Hou > --- > drivers/fpga/xrt/mgmt/f

Re: [syzbot] WARNING in mntput_no_expire (2)

2021-04-01 Thread Christian Brauner
On Thu, Apr 01, 2021 at 10:09:18AM -0600, Jens Axboe wrote: > On 4/1/21 9:45 AM, Christian Brauner wrote: > > On Thu, Apr 01, 2021 at 02:09:20AM -0700, syzbot wrote: > >> Hello, > >> > >> syzbot found the following issue on: > >> > >> HEAD commit:d19cc4bf Merge tag 'trace-v5.12-rc5' of > >> gi

Re: [PATCH] drivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER

2021-04-01 Thread Robert Foss
Hey Julian, Nice catch, this patch looks good to me. I've pushed it to drm-misc-next. https://cgit.freedesktop.org/drm/drm-misc/commit/?id=62066d3164467167fc27b2383f67d097e39bf176 On Mon, 22 Feb 2021 at 22:56, Julian Braha wrote: > > When DRM_TOSHIBA_TC358762 is enabled and DRM_KMS_HELPER is di

[PATCH RFC 3/3] MIPS: relocate: Add support to relocate kernel auto

2021-04-01 Thread Jinyang He
These asm code is based on relocate.c. And in this stage, only do relocate for _text and ex_table. Signed-off-by: Jinyang He --- arch/mips/kernel/head.S | 149 1 file changed, 149 insertions(+) diff --git a/arch/mips/kernel/head.S b/arch/mips/ker

[PATCH RFC 1/3] MIPS: relocate: Only compile relocs when CONFIG_RELOCATABLE is enabled

2021-04-01 Thread Jinyang He
Relocs is used for create relocate information, only CONFIG_RELOCATABLE is enabled can it be used. Signed-off-by: Jinyang He --- arch/mips/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index e71d587..cb54d86 100644 --- a/arch/mips/Makefile

[PATCH RFC 2/3] MIPS: relocate: Use CONFIG_RANDOMIZE_BASE to configure kaslr

2021-04-01 Thread Jinyang He
Currently, the difference between using CONFIG_RELOCATABLE and CONFIG_RANDOMIZE_BASE is determine_relocation_address(). CONFIG_RANDOMIZE_BASE achieves randomization, but CONFIG_RELOCATABLE relocate the kernel is very limited, currently returns a constant. Therefore, abandoned determine_relocation_a

[PATCH v14 0/6] Add NUMA-awareness to qspinlock

2021-04-01 Thread Alex Kogan
Change from v13: Fix regression in stress-ng. Reported-by: kernel test robot The fix is to move common-case stores into the 'partial_order' field of the queue node from cna_wait_head_or_lock() (where those stores can cause a cache miss during lock handover) to cna_init_node().

[PATCH RFC 0/3] Some update for relocate

2021-04-01 Thread Jinyang He
Two questions at least here, 1. cavium-octeon platform seems start with smp cpus, it may broke this function 2. Commit 15ad838d281b ("[MIPS] Always do the ARC64_TWIDDLE_PC thing."), I don't know whether broken it. So RFC to get helps. Thanks! And Patch3 can be tested by vmlinuz. e.g. Use the

Re: [PATCH v10 3/4] mtd: rawnand: Add support for secure regions in NAND memory

2021-04-01 Thread Boris Brezillon
On Thu, 1 Apr 2021 20:49:54 +0530 Manivannan Sadhasivam wrote: > @@ -565,6 +608,11 @@ static int nand_block_isreserved(struct mtd_info *mtd, > loff_t ofs) > > if (!chip->bbt) > return 0; > + > + /* Check if the region is secured */ > + if (nand_region_is_secured(ch

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-04-01 Thread Richard Weinberger
Ahmad, - Ursprüngliche Mail - > Von: "Ahmad Fatoum" >> But using LUKS would mean that cryptsetup has access to the plain disc >> encryption key material? >> This would be a no-go for many systems out there, key material must not >> accessible to userspace. >> I know, distrusting userspace

Re: [PATCH v5 00/27] Memory Folios

2021-04-01 Thread Johannes Weiner
On Thu, Apr 01, 2021 at 05:05:37AM +, Al Viro wrote: > On Tue, Mar 30, 2021 at 10:09:29PM +0100, Matthew Wilcox wrote: > > > That's a very Intel-centric way of looking at it. Other architectures > > support a multitude of page sizes, from the insane ia64 (4k, 8k, 16k, then > > every power of

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