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

2021-04-01 Thread Andreas Färber
Hi, On 01.04.21 12:27, Manivannan Sadhasivam wrote: > On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea wrote: >> On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: >>> On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote: This patchset adds a soci

Re: [PATCH v4 1/8] KVM: arm64: vgic-v3: Fix some error codes when setting RDIST base

2021-04-01 Thread Marc Zyngier
Hi Eric, On Thu, 01 Apr 2021 09:52:31 +0100, Eric Auger wrote: > > KVM_DEV_ARM_VGIC_GRP_ADDR group doc says we should return > -EEXIST in case the base address of the redist is already set. > We currently return -EINVAL. > > However we need to return -EINVAL in case a legacy REDIST address > is

Re: [PATCH for-next v3 1/2] IB/cma: Introduce rdma_set_min_rnr_timer()

2021-04-01 Thread Leon Romanovsky
On Wed, Mar 31, 2021 at 08:43:13PM +0200, Håkon Bugge wrote: > Introduce the ability for kernel ULPs to adjust the minimum RNR Retry > timer. The INIT -> RTR transition executed by RDMA CM will be used for > this adjustment. This avoids an additional ib_modify_qp() call. > > rdma_set_min_rnr_timer

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 - > Do you mean systemd-cryptsetup? It looks to me like it's just a way to supply > the keyphrase. With trusted keys and a keyphrase unknown to userspace, this > won't work. Nah, I meant existing scripts/service Files. > I don't (yet) see the utility of it wit

Re: [syzbot] possible deadlock in register_for_each_vma

2021-04-01 Thread Oleg Nesterov
On 04/01, Hillf Danton wrote: > > If I dont misread it, the lockdep chain will likely evolve from > >event_mutex -> uprobe.register_rwsem -> dup_mmap_sem -> mm.mmap_lock -> >event_mutex > to >dup_mmap_sem -> mm.mmap_lock -> dup_mmap_sem > > after this patch as both uprobe_register() an

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

2021-04-01 Thread Ahmad Fatoum
Hello Richard, On 01.04.21 12:53, Richard Weinberger wrote: > Ahmad, > > - Ursprüngliche Mail - >> Do you mean systemd-cryptsetup? It looks to me like it's just a way to supply >> the keyphrase. With trusted keys and a keyphrase unknown to userspace, this >> won't work. > > Nah, I meant

Re:Re: [PATCH] arm64/kernel/probes: Use BUG_ON instead of if condition followed by BUG.

2021-04-01 Thread 周传高
>On Tue, Mar 30, 2021 at 04:57:50AM -0700, zhouchuangao wrote:>> It can be >optimized at compile time. > >Hmm, I don't see it (and I also don't understand why we care). Do you have >numbers showing that this is worthwhile? > #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while

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

2021-04-01 Thread Cristian Ciocaltea
Hi Mani, Andreas, On Thu, Apr 01, 2021 at 12:49:37PM +0200, Andreas Färber wrote: > Hi, > > On 01.04.21 12:27, Manivannan Sadhasivam wrote: > > On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea wrote: > >> On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: > >>> On

[PATCH v5 0/6] usb: Linking ports to their Type-C connectors

2021-04-01 Thread Heikki Krogerus
Hi, I have to use IS_REACHABLE() instead of IS_ENABLED() also in include/linux/usb.h. Otherwise compilation will fail if the Type-C class is build-in while USB is a module. I'm sorry for re-sending these so fast, immediately after v4. Normally I would wait, but I'll be taking a short vacation sta

[PATCH v5 3/6] usb: typec: Port mapping utility

2021-04-01 Thread Heikki Krogerus
Adding functions that can be used to link/unlink ports - USB ports, TBT3/USB4 ports, DisplayPorts and so on - to the USB Type-C connectors they are attached to inside a system. The symlink that is created for the port device is named "connector". Initially only ACPI is supported. ACPI port object

[PATCH v5 2/6] usb: typec: Declare the typec_class static

2021-04-01 Thread Heikki Krogerus
This is only to make the handling of the class consistent with the two other susbsystems - the alt mode bus and the mux class. Signed-off-by: Heikki Krogerus --- drivers/usb/typec/class.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/usb/t

[PATCH v5 5/6] usb: Iterator for ports

2021-04-01 Thread Heikki Krogerus
Introducing usb_for_each_port(). It works the same way as usb_for_each_dev(), but instead of going through every USB device in the system, it walks through the USB ports in the system. Signed-off-by: Heikki Krogerus Acked-by: Alan Stern --- drivers/usb/core/usb.c | 46 ++

[PATCH v5 6/6] usb: typec: Link all ports during connector registration

2021-04-01 Thread Heikki Krogerus
The connectors may be registered after the ports, so the "connector" links need to be created for the ports also when ever a new connector gets registered. Signed-off-by: Heikki Krogerus --- drivers/usb/typec/class.c | 9 +++-- drivers/usb/typec/class.h | 4 +-- drivers/usb/typec/p

[PATCH v5 1/6] usb: typec: Organize the private headers properly

2021-04-01 Thread Heikki Krogerus
Adding a header file for each subsystem - the connector class, alt mode bus and the class for the muxes. Signed-off-by: Heikki Krogerus --- drivers/usb/typec/bus.c | 2 ++ drivers/usb/typec/bus.h | 19 +- drivers/usb/typec/class.c | 69 +++ drivers/us

[PATCH v5 4/6] usb: Link the ports to the connectors they are attached to

2021-04-01 Thread Heikki Krogerus
Creating link to the USB Type-C connector for every new port that is added when possible. Signed-off-by: Heikki Krogerus --- Documentation/ABI/testing/sysfs-bus-usb | 9 + drivers/usb/core/port.c | 3 +++ 2 files changed, 12 insertions(+) diff --git a/Documentation/ABI/t

RE: [PATCH v3 02/14] PCI: rcar: Don't allocate extra memory for the MSI capture address

2021-04-01 Thread Yoshihiro Shimoda
Hi Lorenzo, Marc, > From: Lorenzo Pieralisi, Sent: Wednesday, March 31, 2021 12:29 AM > > On Tue, Mar 30, 2021 at 04:11:33PM +0100, Marc Zyngier wrote: > > A long cargo-culted behaviour of PCI drivers is to allocate memory > > to obtain an address that is fed to the controller as the MSI > > capt

Re: [PATCH -next v3] staging: greybus: camera: Switch to memdup_user_nul()

2021-04-01 Thread Dan Carpenter
On Thu, Apr 01, 2021 at 06:36:45PM +0800, Yang Yingliang wrote: > Use memdup_user_nul() helper instead of open-coding to > simplify the code. > > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Thanks! Reviewed-by: Dan Carpenter regards, dan carpenter

Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Lorenzo Pieralisi
On Thu, Apr 01, 2021 at 11:38:19AM +0100, Marc Zyngier wrote: > On Thu, 01 Apr 2021 11:19:57 +0100, > Lorenzo Pieralisi wrote: > > > > On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: > > > > [...] > > > > > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg >

Re: [PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description

2021-04-01 Thread Arnd Bergmann
On Fri, Feb 26, 2021 at 12:31 PM Daniel Palmer wrote: > > Hi Rob's bot > > On Wed, 24 Feb 2021 at 04:34, Rob Herring wrote: > > dtschema/dtc warnings/errors: > > Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.example.dts:19:18: > > fatal error: dt-bindings/clock/mstar-msc313-mpll.h:

Re: [PATCH v3 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 1, 2021 at 1:44 PM Henning Schild wrote: > > Am Wed, 31 Mar 2021 18:40:23 +0300 > schrieb Andy Shevchenko : > > > On Tue, Mar 30, 2021 at 6:33 PM Henning Schild > > wrote: > > > Am Tue, 30 Mar 2021 15:41:53 +0300 > > > schrieb Andy Shevchenko : > > > > On Tue, Mar 30, 2021 at 3:35 PM

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" >> I don't want you to force to use cryptsetup. > > I'd love to use cryptsetup with LUKS and trusted keys eventually. I'll take But using LUKS would mean that cryptsetup has access to the plain disc encryption key material? This would

Re: [PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description

2021-04-01 Thread Daniel Palmer
Hi Arnd, On Thu, 1 Apr 2021 at 20:04, Arnd Bergmann wrote: > I found this is still in patchwork as not merged, and I have not > seen a replacement. Marking all eight patches as 'changes requested' now, > please resend. Understood. I will resend. Thanks, Daniel

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

2021-04-01 Thread Manivannan Sadhasivam
+ 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, Manivannan Sadhasivam wrote: > > > On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea

Re: [PATCH RFT 1/2] i2c: tegra-bpmp: don't modify input variable in xlate_flags

2021-04-01 Thread Thierry Reding
On Wed, Mar 31, 2021 at 09:51:40AM +0200, Wolfram Sang wrote: > Since commit bc1c2048abbe ("i2c: bpmp-tegra: Ignore unknown I2C_M > flags") we don't need to mask out flags and can keep the input variable > as is to save quite some lines. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses

Re: [PATCH v6] RISC-V: enable XIP

2021-04-01 Thread Alex Ghiti
Le 4/1/21 à 4:52 AM, Vitaly Wool a écrit : Hi Alex, On Thu, Apr 1, 2021 at 10:11 AM Alex Ghiti wrote: Hi, Le 3/30/21 à 4:04 PM, Alex Ghiti a écrit : Le 3/30/21 à 3:33 PM, Palmer Dabbelt a écrit : On Tue, 30 Mar 2021 11:39:10 PDT (-0700), a...@ghiti.fr wrote: Le 3/30/21 à 2:26 AM, Vitaly

[PATCH -next] hugetlb: Fix the loss of exclamation point in comment

2021-04-01 Thread Chen Huang
In "else" and "endif" comment, it loses the exclamation point. Signed-off-by: Chen Huang --- include/linux/hugetlb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index a7f7d5f328dc..c5fb0035c13a 100644 --- a/include/lin

Re: [PATCH v6 14/24] iio: buffer: wrap all buffer attributes into iio_dev_attr

2021-04-01 Thread Alexandru Ardelean
On Thu, Apr 1, 2021 at 11:29 AM Jonathan Cameron wrote: > > On Thu, 1 Apr 2021 09:39:47 +0200 > Marek Szyprowski wrote: > > > Hi > > > > On 15.02.2021 11:40, Alexandru Ardelean wrote: > > > This change wraps all buffer attributes into iio_dev_attr objects, and > > > assigns a reference to the IIO

Re: [PATCH RFT 2/2] i2c: tegra-bpmp: make some functions void

2021-04-01 Thread Thierry Reding
On Wed, Mar 31, 2021 at 09:51:41AM +0200, Wolfram Sang wrote: > They return 0 always, so save some lines and code. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses/i2c-tegra-bpmp.c | 20 > 1 file changed, 4 insertions(+), 16 deletions(-) Acked-by: Thierry Reding

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

2021-04-01 Thread David Howells
Richard Weinberger wrote: > 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? > e.g. > keyctl add trusted $KEYNAME "backendtype caam

Re: [PATCH v3 08/10] fsdax: Dedup file range to use a compare function

2021-04-01 Thread Ritesh Harjani
On 21/03/19 09:52AM, Shiyang Ruan wrote: > With dax we cannot deal with readpage() etc. So, we create a dax > comparison funciton which is similar with > vfs_dedupe_file_range_compare(). > And introduce dax_remap_file_range_prep() for filesystem use. > > Signed-off-by: Goldwyn Rodrigues > Signed-o

Re: [PATCH v2 11/14] drm/bridge: ti-sn65dsi86: Power things properly for reading the EDID

2021-04-01 Thread Andrzej Hajda
W dniu 31.03.2021 o 16:48, Doug Anderson pisze: > Hi, > > On Wed, Mar 31, 2021 at 4:08 AM Andrzej Hajda wrote: >> >> W dniu 30.03.2021 o 04:53, Douglas Anderson pisze: >>> eDP panels won't provide their EDID unless they're powered on. Let's >>> chain a power-on before we read the EDID. This roug

Re: [PATCH -next] media: imx-pxp: remove redundant dev_err call in pxp_probe()

2021-04-01 Thread Philipp Zabel
On Thu, Apr 01, 2021 at 06:26:07PM +0800, Yang Yingliang wrote: > There is an error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Thank you, Reviewed-by: Philipp Zabel

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

2021-04-01 Thread Ahmad Fatoum
Hello Richard, On 01.04.21 13:05, Richard Weinberger wrote: > Ahmad, > > - Ursprüngliche Mail - >> Von: "Ahmad Fatoum" >>> I don't want you to force to use cryptsetup. >> >> I'd love to use cryptsetup with LUKS and trusted keys eventually. I'll take > > But using LUKS would mean that cr

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

2021-04-01 Thread Richard Guy Briggs
On 2021-04-01 15:24, Phil Sutter wrote: > 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

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

2021-04-01 Thread Paolo Bonzini
On 01/04/21 16:38, Maxim Levitsky wrote: 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 corr

Re: [PATCH V2 1/6] mm: Generalize ARCH_HAS_CACHE_LINE_SIZE

2021-04-01 Thread Vineet Gupta
On 3/31/21 11:44 PM, Anshuman Khandual wrote: > ARCH_HAS_CACHE_LINE_SIZE config has duplicate definitions on platforms that > subscribe it. Instead, just make it a generic option which can be selected > on applicable platforms. This change reduces code duplication and makes it > cleaner. Acked-by:

Re: [PATCH V2 6/6] mm: Drop redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE

2021-04-01 Thread Vineet Gupta
On 3/31/21 11:44 PM, Anshuman Khandual wrote: > HAVE_ARCH_TRANSPARENT_HUGEPAGE has duplicate definitions on platforms that > subscribe it. Drop these reduntant definitions and instead just select it > on applicable platforms. Acked-by: Vineet Gupta#arc Thx, -Vineet

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

2021-04-01 Thread Richard Weinberger
Sumit, - Ursprüngliche Mail - > Von: "Sumit Garg" > In this case why would one prefer to use CAAM when you have standards > compliant TPM-Chip which additionally offers sealing to specific PCR > (integrity measurement) values. I don't think we can dictate what good/sane solutions are and

Re: [EXTERNAL] [PATCH 2/2] KVM: x86: disable interrupts while pvclock_gtod_sync_lock is taken

2021-04-01 Thread Paolo Bonzini
On 01/04/21 17:27, David Woodhouse wrote: - spin_lock(&ka->pvclock_gtod_sync_lock); + spin_lock_irqsave(&ka->pvclock_gtod_sync_lock, flags); use_master_clock = ka->use_master_clock; if (use_master_clock) { host_tsc = ka->master_cycle_now;

[tip: x86/core] x86/retpoline: Simplify retpolines

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

Re: [PATCH v2 2/2] KVM: nSVM: improve SYSENTER emulation on AMD

2021-04-01 Thread Maxim Levitsky
On Thu, 2021-04-01 at 15:03 +0200, Vitaly Kuznetsov wrote: > Maxim Levitsky writes: > > > Currently to support Intel->AMD migration, if CPU vendor is GenuineIntel, > > we emulate the full 64 value for MSR_IA32_SYSENTER_{EIP|ESP} > > msrs, and we also emulate the sysenter/sysexit instruction in lo

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

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

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

Re: [PATCH v6 00/27] Memory Folios

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 12:26:56PM +0100, Matthew Wilcox wrote: > On Thu, Apr 01, 2021 at 08:05:37AM +0100, Christoph Hellwig wrote: > > On Wed, Mar 31, 2021 at 07:47:01PM +0100, Matthew Wilcox (Oracle) wrote: > > > - Mirror members of struct page (for pagecache / anon) into struct folio, > > >

Re: [PATCH] interconnect: qcom: sm8350: Add missing link between nodes

2021-04-01 Thread Alex Elder
On 4/1/21 4:44 AM, Georgi Djakov wrote: There is a link between the GEM NoC and C NoC nodes, which is currently missing from the topology. Let's add it to allow consumers request paths that use this link. Reported-by: Alex Elder Signed-off-by: Georgi Djakov Thanks Georgi. Tested-by: Alex El

Re: [PATCH v2] dmaengine: k3dma: use the correct HiSilicon copyright

2021-04-01 Thread Zhangfei Gao
On 2021/4/1 下午7:50, Hao Fang wrote: s/Hisilicon/HiSilicon/g. It should use capital S, according to the official website. Signed-off-by: Hao Fang Thanks for the patch. Acked-by:  Zhangfei Gao --- V2: -remove the terms of use link. --- drivers/dma/k3dma.c | 4 ++-- 1 file changed, 2

[PATCH v8 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-04-01 Thread Benjamin Gaignard
In order to be able to share the control hardware block between VPUs use a syscon instead a ioremap it in the driver. To keep the compatibility with older DT if 'nxp,imx8mq-vpu-ctrl' phandle is not found look at 'ctrl' reg-name. With the method it becomes useless to provide a list of register names

[PATCH v8 08/13] media: hantro: Only use postproc when post processed formats are defined

2021-04-01 Thread Benjamin Gaignard
If the variant doesn't offert postprocessed formats make sure it will be ok. Signed-off-by: Benjamin Gaignard Reviewed-by: Ezequiel Garcia --- version 8: - add Ezequiel review tag drivers/staging/media/hantro/hantro.h | 8 ++-- drivers/staging/media/hantro/hantro_postproc.c | 14

Re: [PATCH v2 5/6] dt-bindings: memory: tegra20: emc: Convert to schema

2021-04-01 Thread Rob Herring
On Wed, Mar 31, 2021 at 05:59:39PM +0300, Dmitry Osipenko wrote: > 31.03.2021 16:40, Rob Herring пишет: > > On Wed, 31 Mar 2021 02:04:44 +0300, Dmitry Osipenko wrote: > >> Convert Tegra20 External Memory Controller binding to schema. > >> > >> Signed-off-by: Dmitry Osipenko > >> --- > >> .../memo

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

2021-04-01 Thread Raoul Strackx
On 3/31/21 5:53 PM, Dave Hansen wrote: > On 3/31/21 5:50 AM, Raoul Strackx wrote: >> The sgx driver can only load enclaves whose pages are fully measured. >> This may exclude existing enclaves from running. This patch adds a >> new ioctl to measure 256 byte chunks at a time. > > The changelogs her

Re: [PATCH] perf data: export to JSON

2021-04-01 Thread Jiri Olsa
On Wed, Mar 31, 2021 at 06:38:16AM -0400, Nicholas Fraser wrote: > Hi Jiri, > > Thanks for the review. I've addressed your suggestions; some notes are > below. I'll send a new patch. > > > On 2021-03-24 2:20 p.m., Jiri Olsa wrote: > > On Wed, Mar 24, 2021 at 09:06:50AM -0400, Nicholas Fraser wro

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

2021-04-01 Thread Sumit Garg
On Thu, 1 Apr 2021 at 19:00, Ahmad Fatoum wrote: > > 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 current

Re: [PATCH v3 1/2] audit: document /proc/PID/loginuid

2021-04-01 Thread Paul Moore
On Thu, Apr 1, 2021 at 9:48 AM Mauro Carvalho Chehab wrote: > Em Thu, 18 Mar 2021 15:19:10 -0400 > Richard Guy Briggs escreveu: > > Describe the /proc/PID/loginuid interface in Documentation/ABI/stable that > > was added 2005-02-01 by commit 1e2d1492e178 ("[PATCH] audit: handle > > loginuid throu

Re: [PATCH v31 07/12] landlock: Support filesystem access-control

2021-04-01 Thread Mickaël Salaün
On 01/04/2021 04:14, Al Viro wrote: > On Wed, Mar 31, 2021 at 07:33:50PM +0200, Mickaël Salaün wrote: > >>> +static inline u64 unmask_layers( >>> + const struct landlock_ruleset *const domain, >>> + const struct path *const path, const u32 access_request, >>> + u64

[tip: x86/core] objtool: Keep track of retpoline call sites

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

Re: [PATCH RFT 1/2] i2c: tegra-bpmp: don't modify input variable in xlate_flags

2021-04-01 Thread Thierry Reding
On Wed, Mar 31, 2021 at 09:51:40AM +0200, Wolfram Sang wrote: > Since commit bc1c2048abbe ("i2c: bpmp-tegra: Ignore unknown I2C_M > flags") we don't need to mask out flags and can keep the input variable > as is to save quite some lines. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses

Re: [syzbot] WARNING in unsafe_follow_pfn

2021-04-01 Thread Jason Gunthorpe
On Wed, Mar 31, 2021 at 07:29:22AM +0300, Dan Carpenter wrote: > On Tue, Mar 30, 2021 at 07:04:30PM +0200, Paolo Bonzini wrote: > > On 30/03/21 17:26, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:93129492 Add linux-next specific files for

Re: [PATCH v6 00/27] Memory Folios

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:52:01PM +0100, Matthew Wilcox wrote: > On Thu, Apr 01, 2021 at 09:28:03AM -0300, Jason Gunthorpe wrote: > > On Thu, Apr 01, 2021 at 12:26:56PM +0100, Matthew Wilcox wrote: > > > On Thu, Apr 01, 2021 at 08:05:37AM +0100, Christoph Hellwig wrote: > > > > On Wed, Mar 31, 202

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

2021-04-01 Thread Stefan Metzmacher
Hi Jens, >> For help, type "help". >> Type "apropos word" to search for commands related to "word". >> Attaching to process 1320 >> [New LWP 1321] >> [New LWP 1322] >> >> warning: Selected architecture i386:x86-64 is not compatible with reported >> target architecture i386 >> >> warning: Architec

Re: [PATCH v1 3/7] PCI: New Primary to Sideband (P2SB) bridge support library

2021-04-01 Thread Bjorn Helgaas
On Thu, Apr 01, 2021 at 06:45:02PM +0300, Andy Shevchenko wrote: > On Tue, Mar 09, 2021 at 09:42:52AM +0100, Henning Schild wrote: > > Am Mon, 8 Mar 2021 19:42:21 -0600 > > schrieb Bjorn Helgaas : > > > On Mon, Mar 08, 2021 at 09:16:50PM +0200, Andy Shevchenko wrote: > > > > On Mon, Mar 08, 2021 at

Re: [RFC Part1 PATCH 04/13] x86/sev-snp: define page state change VMGEXIT structure

2021-04-01 Thread Brijesh Singh
On 4/1/21 5:32 AM, Borislav Petkov wrote: > On Wed, Mar 24, 2021 at 11:44:15AM -0500, Brijesh Singh wrote: >> An SNP-active guest will use the page state change VNAE MGEXIT defined in > I guess this was supposed to mean "NAE VMGEXIT" but pls write "NAE" out > at least once so that reader can find

Re: [PATCH 12/16] dt-bindings: media: Add DT bindings for TI CSI2RX driver

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 11:03:44PM +0530, Pratyush Yadav wrote: > TI's J721E uses the Cadence CSI2RX and DPHY peripherals to facilitate > capture over a CSI-2 bus. The TI CSI2RX platform driver glues all the > parts together. > > Signed-off-by: Pratyush Yadav > --- > .../devicetree/bindings/medi

Re: [PATCH v2 3/3] dt-bindings: serial: 8250: add aspeed, sirq-active-high

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 19:57:02 -0500, Zev Weiss wrote: > This provides a simpler, more direct alternative to the deprecated > aspeed,sirq-polarity-sense property for indicating the polarity of > the Aspeed VUART's SIRQ line. > > Signed-off-by: Zev Weiss > --- > Documentation/devicetree/bindings/se

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

2021-04-01 Thread Stefan Metzmacher
Am 01.04.21 um 17:39 schrieb 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

[PATCH v14 4/6] locking/qspinlock: Introduce starvation avoidance into CNA

2021-04-01 Thread Alex Kogan
Keep track of the time the thread at the head of the secondary queue has been waiting, and force inter-node handoff once this time passes a preset threshold. The default value for the threshold (10ms) can be overridden with the new kernel boot command-line option "numa_spinlock_threshold". The ms v

Re: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 04:48:16PM +0300, Cristian Ciocaltea wrote: > Add devicetree binding for the Actions Semi Owl SoC serial number > reserved-memory range. > > Signed-off-by: Cristian Ciocaltea > --- > .../actions,owl-soc-serial.yaml | 53 +++ > 1 file changed,

Re: [PATCH v2 20/28] KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map

2021-04-01 Thread Paolo Bonzini
On 01/04/21 18:50, Ben Gardon wrote: retry: if (is_shadow_present_pte(iter.old_spte)) { if (is_large_pte(iter.old_spte)) { if (!tdp_mmu_zap_spte_atomic(vcpu->kvm, &iter)) break;

Re: [PATCH v4 7/8] KVM: arm64: vgic-v3: Expose GICR_TYPER.Last for userspace

2021-04-01 Thread Marc Zyngier
On Thu, 01 Apr 2021 18:03:25 +0100, Auger Eric wrote: > > Hi Marc, > > On 4/1/21 3:42 PM, Marc Zyngier wrote: > > Hi Eric, > > > > On Thu, 01 Apr 2021 09:52:37 +0100, > > Eric Auger wrote: > >> > >> Commit 23bde34771f1 ("KVM: arm64: vgic-v3: Drop the > >> reporting of GICR_TYPER.Last for users

Re: [PATCH v2 2/3] nvme: Remove superflues else in nvme_ctrl_loss_tmo_store

2021-04-01 Thread Keith Busch
For the subject, s/superflues/superfluous

[PATCH][next] scsi: mpt3sas: Fix out-of-bounds warnings in _ctl_addnl_diag_query

2021-04-01 Thread Gustavo A. R. Silva
Fix the following out-of-bounds warnings by embedding existing struct htb_rel_query into struct mpt3_addnl_diag_query, instead of duplicating its members: include/linux/fortify-string.h:20:29: warning: '__builtin_memcpy' offset [19, 32] from the object at 'karg' is out of the bounds of referenced

Re: [RFC PATCH v1 2/4] arm64: Mark a stack trace unreliable if an EL1 exception frame is detected

2021-04-01 Thread Mark Brown
On Tue, Mar 30, 2021 at 02:09:53PM -0500, madve...@linux.microsoft.com wrote: > From: "Madhavan T. Venkataraman" > > EL1 exceptions can happen on any instruction including instructions in > the frame pointer prolog or epilog. Depending on where exactly they happen, > they could render the stack t

Re: [PATCH v2 2/4] drm/msm: Avoid mutex in shrinker_count()

2021-04-01 Thread Rob Clark
On Thu, Apr 1, 2021 at 8:34 AM Doug Anderson wrote: > > Hi, > > On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > > > @@ -45,6 +30,9 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct > > shrink_control *sc) > > list_for_each_entry(msm_obj, &priv->inactive_dontneed, mm_list) {

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

2021-04-01 Thread Ard Biesheuvel
On Thu, 1 Apr 2021 at 15:34, Rafael J. Wysocki wrote: > > 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

[tip: x86/core] objtool: Add elf_create_undef_symbol()

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

Re: [PATCH v6 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-04-01 Thread Robert Foss
Hey Xin, This series no longer applies to drm-misc/drm-misc-next, please rebase it. On Wed, 24 Mar 2021 at 08:52, Xin Ji wrote: > > On Sun, Mar 21, 2021 at 02:00:38PM +0200, Laurent Pinchart wrote: > > Hi Xin, > > > > Thank you for the patch. > > > > On Fri, Mar 19, 2021 at 02:32:39PM +0800, Xin

Re: [RFT PATCH v3 16/27] irqchip/apple-aic: Add support for the Apple Interrupt Controller

2021-04-01 Thread Hector Martin
Hi Will, On 29/03/2021 21.04, Will Deacon wrote: One CPU still needs to be able to mutate the flags of another CPU to fire an IPI; AIUI the per-cpu ops are *not* atomic for concurrent access by multiple CPUs, and in fact there is no API for that, only for "this CPU". Huh, I really thought we h

Re: [bug report] node: Add memory-side caching attributes

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 12:00:39PM +0300, Dan Carpenter wrote: > Hi Keith, > > I've been trying to figure out ways Smatch can check for device managed > resources. Like adding rules that if we call dev_set_name(&foo->bar) > then it's device managaged and if there is a kfree(foo) without calling >

[PATCH v8 13/13] arm64: dts: imx8mq: Add node to G2 hardware

2021-04-01 Thread Benjamin Gaignard
Split VPU node in two: one for G1 and one for G2 since they are different hardware blocks. Add syscon for hardware control block. Remove reg-names property that is useless. Each VPU node only need one interrupt. Change G2 assigned clock to match to the specifications. In the both nodes all the cloc

Re: [PATCH v2 3/4] drm/msm: Fix debugfs deadlock

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > From: Rob Clark > > In normal cases the gem obj lock is acquired first before mm_lock. The > exception is iterating the various object lists. In the shrinker path, > deadlock is avoided by using msm_gem_trylock() and skipping over object

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

2021-04-01 Thread Sumit Garg
On Thu, 1 Apr 2021 at 15:36, Ahmad Fatoum wrote: > > Hello Richard, > > On 31.03.21 21:36, Richard Weinberger wrote: > > James, > > > > - Ursprüngliche Mail - > >> Von: "James Bottomley" > >> Well, yes. For the TPM, there's a defined ASN.1 format for the keys: > >> > >> https://git.kerne

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

2021-04-01 Thread Randy Dunlap
On 4/1/21 5:33 AM, Kostya Porotchkin wrote: > 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.k

Re: [PATCH v6 5/5] drm/bridge: anx7625: add HDMI audio function

2021-04-01 Thread Robert Foss
Hey Xin, This patch looks good to me. Reviewed-by: Robert Foss On Fri, 19 Mar 2021 at 07:35, Xin Ji wrote: > > Add audio HDMI codec function support, enable it through device true flag > "analogix,audio-enable". > > Reported-by: kernel test robot > Signed-off-by: Xin Ji > --- > drivers/gpu/

Re: [PATCH 09/13] KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock

2021-04-01 Thread Ben Gardon
On Thu, Apr 1, 2021 at 2:58 AM Paolo Bonzini wrote: > > On 31/03/21 23:08, Ben Gardon wrote: > > To reduce lock contention and interference with page fault handlers, > > allow the TDP MMU function to zap a GFN range to operate under the MMU > > read lock. > > > > Signed-off-by: Ben Gardon > > ---

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

2021-04-01 Thread Ralph Boehme
Am 4/1/21 um 2:43 PM schrieb Namjae Jeon: 2021-04-01 20:50 GMT+09:00, 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:

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

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

Re: [PATCH V2 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four new variants

2021-04-01 Thread Bjorn Andersson
On Thu 01 Apr 07:35 CDT 2021, satya priya wrote: > Update the binding to add PM7325, PM8350C, PMK8350 and PMR735A GPIO support. > > Signed-off-by: satya priya > --- > Changes in V2: > - Placed this patch before conversion patch and updated commit text >to be more clear. > > Documentation/

Re: allmodconfig not working with dummy-tools

2021-04-01 Thread Masahiro Yamada
On Thu, Apr 1, 2021 at 9:39 PM Michal Suchánek wrote: > > Hello, > > running allmodconfig with dumy-tools I get: > > which: no elfedit in (./scripts/dummy-tools) > scripts/dummy-tools/gcc: unknown assembler invoked > scripts/Kconfig.include:50: Sorry, this assembler is not supported. > scripts/kco

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-04-01 Thread Jason Gunthorpe
On Mon, Mar 29, 2021 at 05:10:53PM -0600, Alex Williamson wrote: > On Tue, 23 Mar 2021 16:32:13 -0300 > Jason Gunthorpe wrote: > > > On Mon, Mar 22, 2021 at 10:40:16AM -0600, Alex Williamson wrote: > > > > > Of course if you start looking at features like migration support, > > > that's more tha

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

2021-04-01 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ben-Gardon/More-parallel-operations-for-the-TDP-MMU/20210401-051137 base:7a43c78d0573e00456b033e2b9a895b89464 config: x86_64-al

[PATCH 6/9] kselftest: Add test for core sched prctl interface

2021-04-01 Thread Peter Zijlstra
From: Chris Hyser Provides a selftest and examples of using the interface. [peterz: updated to not use sched_debug] Signed-off-by: Chris Hyser Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20210324214020.34142-5-j...@joelfernandes.org --- tools/testing/selftests/sched/

[PATCH v8 01/13] dt-bindings: mfd: Add 'nxp,imx8mq-vpu-ctrl' to syscon list

2021-04-01 Thread Benjamin Gaignard
Add 'nxp,imx8mq-vpu-ctrl' in the list of possible syscon. It will used to access to the VPU control registers. Signed-off-by: Benjamin Gaignard Acked-by: Rob Herring Acked-by: Lee Jones --- version 8: - Add Lee ack version 7: - Add Rob ack Documentation/devicetree/bindings/mfd/syscon.yaml

[PATCH 7/9] sched: Cgroup core-scheduling interface

2021-04-01 Thread Peter Zijlstra
Implement a basic cgroup core-scheduling interface. A new cpu.core_sched file is added which takes the values 0,1. When set, the cgroup and all it's descendants will be granted the same cookie and thus allowed to share a core with each-other, but not with system tasks or tasks of other subtrees th

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

2021-04-01 Thread Linus Walleij
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 a helpful first view when remote > debugging. Read the documentat

[PATCH 1/9] sched: Allow sched_core_put() from atomic context

2021-04-01 Thread Peter Zijlstra
Stuff the meat of sched_core_put() into a work such that we can use sched_core_put() from atomic context. Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/core.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) --- a/kernel/sched/core.c +++ b/kern

[PATCH v2 4/8] cxl/core: Refactor CXL register lookup for bridge reuse

2021-04-01 Thread Dan Williams
While CXL Memory Device endpoints locate the CXL MMIO registers in a PCI BAR, CXL root bridges have their MMIO base address described by platform firmware. Refactor the existing register lookup into a generic facility for endpoints and bridges to share. Reviewed-by: Ben Widawsky Signed-off-by: Da

Re: [GIT PULL] OP-TEE tracepoints fix for v5.13

2021-04-01 Thread Jens Wiklander
On Thu, Apr 1, 2021 at 12:23 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > On Tue, 30 Mar 2021 10:22:08 +0200, Jens Wiklander wrote: > > The previous pull request for OP-TEE tracepoints introduced a build > > error when building whithout O=..., apparently many regression builds > > uses tha

[PATCH v4 4/4] cxl/mem: Disable cxl device power management

2021-04-01 Thread Dan Williams
There is no power management of cxl virtual devices, disable device-power-management and runtime-power-management to prevent userspace from growing expectations of those attributes appearing. They can be added back in the future if needed. Reviewed-by: Ben Widawsky Signed-off-by: Dan Williams --

[PATCH v8 09/13] media: uapi: Add a control for HANTRO driver

2021-04-01 Thread Benjamin Gaignard
The HEVC HANTRO driver needs to know the number of bits to skip at the beginning of the slice header. That is a hardware specific requirement so create a dedicated control that this purpose. Signed-off-by: Benjamin Gaignard --- version 5: - Be even more verbose in control documentation. - Do no

Re: [PATCH 12/16] dt-bindings: media: Add DT bindings for TI CSI2RX driver

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 11:03:44PM +0530, Pratyush Yadav wrote: > TI's J721E uses the Cadence CSI2RX and DPHY peripherals to facilitate > capture over a CSI-2 bus. The TI CSI2RX platform driver glues all the > parts together. > > Signed-off-by: Pratyush Yadav > --- > .../devicetree/bindings/medi

[PATCH -next] spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()

2021-04-01 Thread Yang Yingliang
Add the missing iounmap() before return from of_fsl_spi_probe() in the error handling case. Fixes: 0f0581b24bd0 ("spi: fsl: Convert to use CS GPIO descriptors") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/spi/spi-fsl-spi.c | 23 ++- 1 file changed, 18 i

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